[or-cvs] r16107: Update script for fa language build (website/trunk)
mfr at seul.org
mfr at seul.org
Mon Jul 21 16:23:11 UTC 2008
Author: mfr
Date: 2008-07-21 12:23:11 -0400 (Mon, 21 Jul 2008)
New Revision: 16107
Modified:
website/trunk/Makefile.common
Log:
Update script for fa language build
Modified: website/trunk/Makefile.common
===================================================================
--- website/trunk/Makefile.common 2008-07-21 16:21:19 UTC (rev 16106)
+++ website/trunk/Makefile.common 2008-07-21 16:23:11 UTC (rev 16107)
@@ -6,7 +6,8 @@
-D TORSVNHEAD=$(TORSVNHEAD)
-LANGS=de en es it fa fi fr ja ko nl no pl pt ru se tr zh-cn
+LANGS=de en es it fi fr ja ko nl no pl pt ru se tr zh-cn fa
+
WMLFILES=$(wildcard $(patsubst %, %/*.wml, $(LANGS)))
WMIFILES=$(wildcard $(patsubst %, %/*.wmi, $(LANGS)) $(WMLBASE)/include/*.wmi )
@@ -31,9 +32,12 @@
%.html.it: it/%.wml en/%.wml
lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
+%.html.fa: fa/%.wml en/%.wml
+ lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
+
%.html.fi: fi/%.wml en/%.wml
lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
-
+
%.html.fr: fr/%.wml en/%.wml
lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
@@ -102,6 +106,13 @@
wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
rm -f $$tmpfile
+ .deps/%.html.fa.d: fa/%.wml .deps/.stamp
+ tmpfile=`tempfile` \
+ lang=`dirname $<` && \
+ OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
+ wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
+ sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
+ rm -f $$tmpfile
.deps/%.html.fi.d: fi/%.wml .deps/.stamp
tmpfile=`tempfile` \
lang=`dirname $<` && \
More information about the tor-commits
mailing list