aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/Make.lang
diff options
context:
space:
mode:
authorAnthony Fok <foka>2000-08-28 12:49:47 +0000
committerAnthony Fok <foka>2000-08-28 12:49:47 +0000
commit0de51ffda61ebc8622f0d85e76f4162d8a480dd3 (patch)
tree57414091e27da1c845de75fea686dc9cd7307a5d /chinese/Make.lang
parent49af951b499d5963d700b0e4c365e69d5795dd7f (diff)
Various update for Chinese pages.
CVS version numbers chinese/Make.lang: 1.23 -> 1.24 chinese/index.wml: 1.39 -> 1.40 chinese/bin/tocn.pl: 1.15 -> 1.16 chinese/bin/totw.pl: 1.14 -> 1.15 chinese/devel/Makefile: 1.4 -> 1.5
Diffstat (limited to 'chinese/Make.lang')
-rw-r--r--chinese/Make.lang19
1 files changed, 4 insertions, 15 deletions
diff --git a/chinese/Make.lang b/chinese/Make.lang
index b6fced44215..bc3e915e08a 100644
--- a/chinese/Make.lang
+++ b/chinese/Make.lang
@@ -57,18 +57,12 @@ $(HTMLDIR)/%.zh-tw.html: %.zh-tw.html
fi
ifndef NOGENERICDEP
-%.$(LANGUAGE)-cn.html %.$(LANGUAGE)-tw.html: %.wml \
+%.zh-cn.html %.zh-tw.html: %.wml \
$(TEMPLDIR)/template.wml $(TEMPLDIR)/languages.wml \
- $(TOCN) $(TOTW) $(ZHTEMPLATE)
-
+ $(TOCN) $(TOTW) $(ZHTEMPLATE) $(HTMLDEP)
$(WML) $(<F)
-
-# @if [ -f index.imgdot-1x1-transp.gif ]; then \
-# mv -f index.imgdot-1x1-transp.gif i.imgdot-1x1-transp.gif; \
-# fi
-
-# *.imgdot-1x1-transp.gif is evil! Get rid of them!
-# Must set nullglob or else the following fails - foka, June 2000
+# # *.imgdot-1x1-transp.gif are evil! Get rid of them!
+# # Must set nullglob or else the following fails - foka, June 2000
@shopt -s nullglob; \
for i in *.imgdot-1x1-transp.gif; do \
rm -f $$i; \
@@ -77,16 +71,11 @@ ifndef NOGENERICDEP
perl -pi -e "s|$$j\\.(?=imgdot-1x1-transp\\.gif)|$(WMLBASE)/Pics/|g" $$k; \
done; \
done
-
-# @echo "* Converting $*.zh-cn.html.tmp to $*.zh-cn.html (zh_CN.GB2312)..."
@echo -n " * Converting: [zh_CN.GB2312], "
@$(B5TOGB) < $*.zh-cn.html.tmp > $*.zh-cn.html
@rm -f $*.zh-cn.html.tmp
@$(TOCN) $*.zh-cn.html
-
-# @echo "* Converting $*.zh-tw.html.tmp to $*.zh-tw.html (zh_TW.Big5)..."
@echo "[zh_TW.Big5]."
-# @$(U8TOB5) < $*.zh-tw.html > $*.zh-tw.html.tmp
@mv -f $*.zh-tw.html.tmp $*.zh-tw.html
@$(TOTW) $*.zh-tw.html
endif

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