| 1 |
|
SHELL=/bin/bash |
| 2 |
|
|
| 3 |
# The LANGUAGE variable needs to be set for each language. |
# The LANGUAGE variable needs to be set for each language. |
| 4 |
# LANGUAGECAP is just the capitalization of LANGUAGE (this is needed for wml slices) |
# LANGUAGECAP is just the capitalization of LANGUAGE (this is needed for wml slices) |
| 5 |
LANGUAGE=zh |
LANGUAGE=zh |
| 25 |
# -o $(@F) |
# -o $(@F) |
| 26 |
# If you use --epilog as above, then you will want to add a line to |
# 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. |
# Make.templ.inc to remove $(@F) after WML is done. |
| 28 |
#WMLOPTIONS=-q -D CUR_YEAR=$(shell date +%Y) |
WMLOPTIONS=-q -D CUR_YEAR=$(shell date +%Y) |
| 29 |
#WMLOUTFILE=$(@F) |
#WMLOUTFILE=$(@F) |
| 30 |
WMLOUTPUT=-o UNDEFuZH@uCN:$(notdir $*).zh-cn.html.tmp -o UNDEFuZH@uTW:$(notdir $*).zh-tw.html.tmp |
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\\\\\\\\/;"' |
#WMLPROLOG=--prolog='/usr/bin/perl -pe "s/^(([\\x00-\\x7F]|([\\x80-\\xFF].))+[\\x80-\\xFF]\\\\)$$/\$$1\\\\\\\\/;"' |
| 32 |
|
WMLPROLOG=--prolog='$(BIN)/fix_big5.pl' |
| 33 |
WMLEPILOG= |
WMLEPILOG= |
| 34 |
|
|
| 35 |
# This is the WML definition for the non-buggy WML. |
# This is the WML definition for the non-buggy WML. |