[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] r24902: {website} updated Makefile.common to include pt-br when building the w (website/trunk)
Author: runa
Date: 2011-07-14 07:31:20 +0000 (Thu, 14 Jul 2011)
New Revision: 24902
Modified:
website/trunk/Makefile.common
Log:
updated Makefile.common to include pt-br when building the website
Modified: website/trunk/Makefile.common
===================================================================
--- website/trunk/Makefile.common 2011-07-14 07:27:46 UTC (rev 24901)
+++ website/trunk/Makefile.common 2011-07-14 07:31:20 UTC (rev 24902)
@@ -18,7 +18,7 @@
-D STABLETAG=$(STABLETAG)
#LANGS=ar bms de en es et fa it fi fr ja ko nl no pl pt ru se tr zh-cn
-LANGS=en ar es fr ru pl da it fa de fi vn cy zh-cn pt id nl
+LANGS=en ar es fr ru pl da it fa de fi vn cy zh-cn pt pt-br id nl
WMLFILES=$(wildcard $(patsubst %, %/*.wml, $(LANGS)))
WMIFILES=$(wildcard $(patsubst %, %/*.wmi, $(LANGS)) $(WMLBASE)/include/*.wmi )
@@ -83,6 +83,9 @@
%.html.pt: pt/%.wml en/%.wml
lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
+%.html.pt-br: pt-br/%.wml en/%.wml
+ lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
+
%.html.ru: ru/%.wml en/%.wml
lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
@@ -231,6 +234,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.pt-br.d: pt-br/%.wml .deps/.stamp
+ tmpfile=`mktemp -t tmp.XXXXXXX` \
+ 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.ru.d: ru/%.wml .deps/.stamp
tmpfile=`mktemp -t tmp.XXXXXXX` \
lang=`dirname $<` && \
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits