diff options
author | Anthony Fok <foka> | 2013-05-31 23:48:23 +0000 |
---|---|---|
committer | Anthony Fok <foka> | 2013-05-31 23:48:23 +0000 |
commit | 16bad0e526dbcecd88eb7e8ff6173255ea0a9c99 (patch) | |
tree | abc22b261bde602974d3a1dd948219a073797ca7 /chinese/Make.lang | |
parent | 250a99344c7fd7e0a3ea97b1826bda5d0ae63e2a (diff) |
Move the inline sed command into a shell script strip_initial_blank_line.sh
so the website build does not break.
CVS version numbers
chinese/Make.lang: 1.48 -> 1.49
chinese/bin/strip_initial_blank_line.sh: INITIAL -> 1.1
Diffstat (limited to 'chinese/Make.lang')
-rw-r--r-- | chinese/Make.lang | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chinese/Make.lang b/chinese/Make.lang index 2b9af4006a6..9d7984ecadf 100644 --- a/chinese/Make.lang +++ b/chinese/Make.lang @@ -20,6 +20,7 @@ TOTW = $(BIN)/totw.pl TOHK = $(BIN)/tohk.pl FORMAT_ZH = $(BIN)/format_zh.pl GENERATE_ZH_VARIANTS = $(BIN)/generate-zh-variants.sh +STRIP_INITIAL_BLANK_LINE = $(BIN)/strip_initial_blank_line.sh ZHTEMPLATE = $(WMLBASE)/template/debian-zh/template.tmpl COMMON_SCRIPTS = $(TOCN) $(TOTW) $(TOHK) $(FORMAT_ZH) $(GENERATE_ZH_VARIANTS) @@ -52,7 +53,7 @@ WMLOUTPUT = -o UNDEFuZH@uCNuCNHKuCNTW:$(*F).zh-cn.html.tmp@g+w \ WMLPROLOG = --prolog=$(FORMAT_ZH) # Remove initial blank line due "[ZH::]" in $(TEMPLDIR)/common_tags.wml, # an unfortunate but necessary workaround of a bug in slice < 1.3.9 -WMLEPILOG = --epilog="sed -i '1{/^$$/d}'" +WMLEPILOG = --epilog=$(STRIP_INITIAL_BLANK_LINE) WML = wml $(WMLOPTIONS) $(WMLOUTPUT) $(WMLPROLOG) $(WMLEPILOG) install:: |