Andrew Lewman commited on 2009-06-23 06:02:51
Zeige 1 geänderte Dateien mit 11 Einfügungen und 1 Löschungen.
... | ... |
@@ -16,7 +16,7 @@ WMLOPT = \ |
16 | 16 |
-D TORSVNSTABLE=$(TORSVNSTABLE) \ |
17 | 17 |
-D TORSVNHEAD=$(TORSVNHEAD) |
18 | 18 |
|
19 |
-LANGS=de en es it fi fr ja ko nl no pl pt ru se tr zh-cn fa |
|
19 |
+LANGS=de en es it fi fr ja ko nl no pl pt ru se tr zh-cn fa ar |
|
20 | 20 |
|
21 | 21 |
WMLFILES=$(wildcard $(patsubst %, %/*.wml, $(LANGS))) |
22 | 22 |
WMIFILES=$(wildcard $(patsubst %, %/*.wmi, $(LANGS)) $(WMLBASE)/include/*.wmi ) |
... | ... |
@@ -30,6 +30,9 @@ all: $(HTMLFILES) |
30 | 30 |
%.html.en: en/%.wml |
31 | 31 |
lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@ |
32 | 32 |
|
33 |
+%.html.ar: ar/%.wml en/%.wml |
|
34 |
+ lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@ |
|
35 |
+ |
|
33 | 36 |
%.html.es: es/%.wml en/%.wml |
34 | 37 |
lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@ |
35 | 38 |
|
... | ... |
@@ -85,6 +88,13 @@ all: $(HTMLFILES) |
85 | 88 |
wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
86 | 89 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
87 | 90 |
rm -f $$tmpfile |
91 |
+.deps/%.html.ar.d: es/%.wml .deps/.stamp |
|
92 |
+ tmpfile=`tempfile` \ |
|
93 |
+ lang=`dirname $<` && \ |
|
94 |
+ OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
|
95 |
+ wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
|
96 |
+ sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
|
97 |
+ rm -f $$tmpfile |
|
88 | 98 |
.deps/%.html.es.d: es/%.wml .deps/.stamp |
89 | 99 |
tmpfile=`tempfile` \ |
90 | 100 |
lang=`dirname $<` && \ |
91 | 101 |