Runa A. Sandvik commited on 2011-07-14 09:31:20
Zeige 1 geänderte Dateien mit 11 Einfügungen und 1 Löschungen.
... | ... |
@@ -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 id nl |
|
21 |
+LANGS=en ar es fr ru pl da it fa de fi vn cy zh-cn pt pt-br id nl |
|
22 | 22 |
|
23 | 23 |
WMLFILES=$(wildcard $(patsubst %, %/*.wml, $(LANGS))) |
24 | 24 |
WMIFILES=$(wildcard $(patsubst %, %/*.wmi, $(LANGS)) $(WMLBASE)/include/*.wmi ) |
... | ... |
@@ -83,6 +83,9 @@ all: $(HTMLFILES) |
83 | 83 |
%.html.pt: pt/%.wml en/%.wml |
84 | 84 |
lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@ |
85 | 85 |
|
86 |
+%.html.pt-br: pt-br/%.wml en/%.wml |
|
87 |
+ lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@ |
|
88 |
+ |
|
86 | 89 |
%.html.ru: ru/%.wml en/%.wml |
87 | 90 |
lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@ |
88 | 91 |
|
... | ... |
@@ -231,6 +234,13 @@ all: $(HTMLFILES) |
231 | 234 |
wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
232 | 235 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
233 | 236 |
rm -f $$tmpfile |
237 |
+.deps/%.html.pt-br.d: pt-br/%.wml .deps/.stamp |
|
238 |
+ tmpfile=`mktemp -t tmp.XXXXXXX` \ |
|
239 |
+ lang=`dirname $<` && \ |
|
240 |
+ OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
|
241 |
+ wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
|
242 |
+ sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
|
243 |
+ rm -f $$tmpfile |
|
234 | 244 |
.deps/%.html.ru.d: ru/%.wml .deps/.stamp |
235 | 245 |
tmpfile=`mktemp -t tmp.XXXXXXX` \ |
236 | 246 |
lang=`dirname $<` && \ |
237 | 247 |