Author: runa Date: 2011-07-13 19:31:06 +0000 (Wed, 13 Jul 2011) New Revision: 24897
Modified: website/trunk/Makefile.common Log: update Makefile.common to include pt_BR
Modified: website/trunk/Makefile.common =================================================================== --- website/trunk/Makefile.common 2011-07-13 19:03:57 UTC (rev 24896) +++ website/trunk/Makefile.common 2011-07-13 19:31:06 UTC (rev 24897) @@ -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 ) @@ -231,6 +231,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.d: pt/%.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@lists.torproject.org