diff options
author | Anthony Fok <foka> | 2011-04-07 22:47:38 +0000 |
---|---|---|
committer | Anthony Fok <foka> | 2011-04-07 22:47:38 +0000 |
commit | 159ea344a6ea5aef17c39a0424aae2732bef452b (patch) | |
tree | ce0e24719078c2b6c92098bce5588507fa19df88 /english/Makefile | |
parent | 7e9aae95816928e4346d18c1a8dd39b84011ade0 (diff) |
Streamline generation of Chinese variant pages by moving
the set of commands into one chinese/bin/generate-zh-variants.sh .
Various Makefile are updated accordingly.
Also, due to UTF-8 problems, the in-place "-i" option has been removed
from the shebang line in tocn.pl and totw.pl
Furthermore, these Chinese specific Perl scripts have been updated
to improve translation of certain Chinese pages.
CVS version numbers
chinese/Make.lang: 1.43 -> 1.44
chinese/bin/fix_big5.pl: 1.10 -> 1.11
chinese/bin/generate-zh-variants.sh: INITIAL -> 1.1
chinese/bin/tocn.pl: 1.42 -> 1.43
chinese/bin/totw.pl: 1.41 -> 1.42
english/Makefile: 1.88 -> 1.89
english/News/Makefile: 1.28 -> 1.29
english/News/weekly/Makefile: 1.52 -> 1.53
english/devel/website/stats/Makefile: 1.3 -> 1.4
english/security/Makefile: 1.65 -> 1.66
Diffstat (limited to 'english/Makefile')
-rw-r--r-- | english/Makefile | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/english/Makefile b/english/Makefile index 895f4525212..4dbb0ac0d01 100644 --- a/english/Makefile +++ b/english/Makefile @@ -33,19 +33,11 @@ $(SITEMAP): $(ENGLISHDIR)/sitemap.wml $(TEMPLDIR)/card.wml \ $(TEMPLDIR)/links.tags.wml $(TEMPLDIR)/template.wml $(GETTEXTDEP) \ $(TEMPLDIR)/release_info.wml $(ENGLISHDIR)/MailingLists/mklist.tags ifeq "$(LANGUAGE)" "zh" + @echo -n "Processing $(<F): " $(subst :.zh,:sitemap.zh,$(WML)) \ $(shell egrep '^-D (CUR_|CHAR)' .wmlrc) \ $(shell echo $(ENGLISHDIR) | sed s,./,,)/sitemap.wml - @echo -n " * Converting: [zh_CN.GB2312], " - @$(B5TOGB) < sitemap.zh-cn.html.tmp > sitemap.zh-cn.html - @rm -f sitemap.zh-cn.html.tmp - @$(TOCN) sitemap.zh-cn.html - @echo -n "[zh_HK.Big5], " - @mv -f sitemap.zh-hk.html.tmp sitemap.zh-hk.html - @$(TOHK) sitemap.zh-hk.html - @echo "[zh_TW.Big5]." - @mv -f sitemap.zh-tw.html.tmp sitemap.zh-tw.html - @$(TOTW) sitemap.zh-tw.html + @$(GENERATE_ZH_VARIANTS) sitemap html else $(WML) $(shell egrep '^-D (CUR_|CHAR)' .wmlrc) \ $(shell echo $(ENGLISHDIR) | sed s,./,,)/sitemap.wml |