Browse code

revert the changes, need some more fixing

Runa A. Sandvik authored on13/07/2011 21:33:51
Showing1 changed files
... ...
@@ -18,7 +18,7 @@ WMLOPT  = \
18 18
           -D STABLETAG=$(STABLETAG)
19 19
 
20 20
 #LANGS=ar bms de en es et fa it fi fr ja ko nl no pl pt ru se tr zh-cn
21
-LANGS=en ar es fr ru pl da it fa de fi vn cy zh-cn pt pt_BR id nl
21
+LANGS=en ar es fr ru pl da it fa de fi vn cy zh-cn pt id nl
22 22
 
23 23
 WMLFILES=$(wildcard $(patsubst %, %/*.wml, $(LANGS)))
24 24
 WMIFILES=$(wildcard $(patsubst %, %/*.wmi, $(LANGS)) $(WMLBASE)/include/*.wmi )
... ...
@@ -231,13 +231,6 @@ all: $(HTMLFILES)
231 231
 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
232 232
 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
233 233
 	rm -f $$tmpfile
234
-.deps/%.html.pt.d: pt/%.wml .deps/.stamp
235
-	tmpfile=`mktemp -t tmp.XXXXXXX` \
236
-	lang=`dirname $<` && \
237
-	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
238
-	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
239
-	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
240
-	rm -f $$tmpfile
241 234
 .deps/%.html.ru.d: ru/%.wml .deps/.stamp
242 235
 	tmpfile=`mktemp -t tmp.XXXXXXX` \
243 236
 	lang=`dirname $<` && \