aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/Makefile
diff options
context:
space:
mode:
authorJosip Rodin <joy>2001-05-23 22:01:26 +0000
committerJosip Rodin <joy>2001-05-23 22:01:26 +0000
commit533e949d4ef433949f28cf408a2f8d3d4d28bf9b (patch)
tree015e90878fc4f24cd0cc649266d60d264a5a62de /chinese/Makefile
parent8d8aa9fc168cb0bc29a4bc6aa27ce91ab5d8699c (diff)
fixed Chinese stuff (ugh)
CVS version numbers chinese/Makefile: 1.21 -> 1.22 english/Makefile: 1.53 -> 1.54
Diffstat (limited to 'chinese/Makefile')
-rw-r--r--chinese/Makefile18
1 files changed, 17 insertions, 1 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index ab7644c3ab6..437c43adcd0 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -13,9 +13,25 @@ include $(WMLBASE)/Make.lang
ifneq "$(LANGUAGE)" "en"
sitemap.$(LANGUAGE).html: $(ENGLISHDIR)/sitemap.wml
+ifneq "$(LANGUAGE)" "zh"
$(shell echo $(WML) | sed s/index/sitemap/) \
$(shell echo $(ENGLISHDIR) | sed s,./,,)/sitemap.wml \
$(shell egrep '^-D (CUR_|CHAR)' .wmlrc)
+else
+ $(shell echo $(WML) | sed s/:.zh/:sitemap.zh/g) \
+ $(shell echo $(ENGLISHDIR) | sed s,./,,)/sitemap.wml \
+ $(shell egrep '^-D (CUR_|CHAR)' .wmlrc)
+ @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
+endif
endif
index.$(LANGUAGE).html: index.wml $(TEMPLDIR)/mainpage.wml \
@@ -28,5 +44,5 @@ index.$(LANGUAGE).html: index.wml $(TEMPLDIR)/mainpage.wml \
install::
test -L $(HTMLDIR)/intl || ln -sf international $(HTMLDIR)/intl
ifneq "$(LANGUAGE)" "en"
- -install -m 664 -p sitemap.$(LANGUAGE).html $(HTMLDIR)
+ -install -m 664 -p sitemap.$(LANGUAGE)*.html $(HTMLDIR)
endif

© 2014-2024 Faster IT GmbH | imprint | privacy policy