/[webwml]/webwml/chinese/Make.lang
ViewVC logotype

Contents of /webwml/chinese/Make.lang

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.21 - (hide annotations) (download)
Fri Jul 21 16:21:33 2000 UTC (12 years, 11 months ago) by foka
Branch: MAIN
Changes since 1.20: +6 -3 lines
* I commented out WMLOPTIONS by mistake.  Fixed.
* Moved the long --prolog Perl command into bin/fix_big5.pl
1 foka 1.21 SHELL=/bin/bash
2    
3 chinese 1.1 # The LANGUAGE variable needs to be set for each language.
4     # LANGUAGECAP is just the capitalization of LANGUAGE (this is needed for wml slices)
5     LANGUAGE=zh
6     LANGUAGECAP=ZH
7    
8 chinese 1.2 # Experimental tag by the Debian Chinese Translation Team
9     SUBLANG = cn tw
10 chinese 1.3 BIN = $(WMLBASE)/bin
11     B5TOU8 = $(BIN)/b5tou8
12 chinese 1.4 U8TOB5 = $(BIN)/u8tob5
13 chinese 1.3 U8TOGB = $(BIN)/u8togb
14 chinese 1.2 B5TOGB = ( cat - | $(B5TOU8) | $(U8TOGB) )
15 chinese 1.9 TOCN = $(BIN)/tocn.pl
16     TOTW = $(BIN)/totw.pl
17 chinese 1.2
18 chinese 1.1 # The '-q' forces wml to be quiet. Very useful in scripts.
19     # It is sometimes useful to add '--epilog=weblint' to check for errors
20     # in the html generated.
21     # Other languages may want to change the wml command to execute programs
22     # that get run before or after wml. For example,
23     # WML="wml -q --prolog="/usr/bin/tcs <options here>" \
24     # --epilog="/usr/bin/tcs <options here> > $(@D)/$(@F)" \
25     # -o $(@F)
26     # If you use --epilog as above, then you will want to add a line to
27     # Make.templ.inc to remove $(@F) after WML is done.
28 foka 1.21 WMLOPTIONS=-q -D CUR_YEAR=$(shell date +%Y)
29 chinese 1.18 #WMLOUTFILE=$(@F)
30 foka 1.21 WMLOUTPUT=-o UNDEFuZH@uCN:$(*F).zh-cn.html.tmp -o UNDEFuZH@uTW:$(*F).zh-tw.html.tmp
31     #WMLPROLOG=--prolog='/usr/bin/perl -pe "s/^(([\\x00-\\x7F]|([\\x80-\\xFF].))+[\\x80-\\xFF]\\\\)$$/\$$1\\\\\\\\/;"'
32     WMLPROLOG=--prolog='$(BIN)/fix_big5.pl'
33 chinese 1.1 WMLEPILOG=
34 chinese 1.18
35     # This is the WML definition for the non-buggy WML.
36 chinese 1.20 WML=wml $(WMLOPTIONS) $(WMLOUTPUT) $(WMLPROLOG) $(WMLEPILOG)
37 chinese 1.18
38 chinese 1.20 # These are the relevant WML and WMLOPTIONS definition for the old buggy WML.
39     # Please DO NOT remove the following comments, in case they're needed again.
40     # July 11, 2000
41 chinese 1.18 #
42 chinese 1.20 #WMLOPTIONS += -p1-8
43     #WML = ( wml $(WMLOPTIONS) $(WMLPROLOG) $(WMLEPILOG) \
44     # | /usr/lib/wml/exec/wml_p9_slice $(WMLOUTPUT) ) <
45     #WMLEPILOG=--epilog='/usr/lib/wml/exec/wml_p9_slice $(WMLOUTPUT)'
46     #WML=wml $(WMLOPTIONS) $(WMLPROLOG) $(WMLEPILOG)

  ViewVC Help
Powered by ViewVC 1.1.5