include more languages when building the website
Runa A. Sandvik

Runa A. Sandvik commited on 2011-07-21 17:12:53
Zeige 1 geänderte Dateien mit 34 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 pt-br id nl
21
+LANGS=ar ar-se bms cy da de en es et fa fi fr hu id it ja ko nl no pl pt pt-br ru se tr vn zh-cn
22 22
 
23 23
 WMLFILES=$(wildcard $(patsubst %, %/*.wml, $(LANGS)))
24 24
 WMIFILES=$(wildcard $(patsubst %, %/*.wmi, $(LANGS)) $(WMLBASE)/include/*.wmi )
... ...
@@ -35,9 +35,15 @@ all: $(HTMLFILES)
35 35
 %.html.ar: ar/%.wml en/%.wml
36 36
 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
37 37
 
38
+%.html.ar-se: ar-se/%.wml en/%.wml
39
+	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
40
+
38 41
 %.html.bms: bms/%.wml en/%.wml
39 42
 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
40 43
 
44
+%.html.cy: cy/%.wml en/%.wml
45
+	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
46
+
41 47
 %.html.es: es/%.wml en/%.wml
42 48
 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
43 49
 
... ...
@@ -65,6 +71,9 @@ all: $(HTMLFILES)
65 71
 %.html.fr: fr/%.wml en/%.wml
66 72
 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
67 73
 
74
+%.html.hu: hu/%.wml en/%.wml
75
+	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
76
+
68 77
 %.html.ja: ja/%.wml en/%.wml
69 78
 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
70 79
 
... ...
@@ -98,6 +107,9 @@ all: $(HTMLFILES)
98 107
 %.html.vi: vi/%.wml en/%.wml
99 108
 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
100 109
 
110
+%.html.vn: vn/%.wml en/%.wml
111
+	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
112
+
101 113
 %.html.zh-cn: zh-cn/%.wml en/%.wml
102 114
 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
103 115
 
... ...
@@ -115,6 +127,13 @@ all: $(HTMLFILES)
115 127
 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
116 128
 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
117 129
 	rm -f $$tmpfile
130
+.deps/%.html.ar-se.d: ar-se/%.wml .deps/.stamp
131
+	tmpfile=`mktemp -t tmp.XXXXXXX` \
132
+	lang=`dirname $<` && \
133
+	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
134
+	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
135
+	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
136
+	rm -f $$tmpfile
118 137
 .deps/%.html.bms.d: bms/%.wml .deps/.stamp
119 138
 	tmpfile=`mktemp -t tmp.XXXXXXX` \
120 139
 	lang=`dirname $<` && \
... ...
@@ -192,6 +211,13 @@ all: $(HTMLFILES)
192 211
 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
193 212
 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
194 213
 	rm -f $$tmpfile
214
+.deps/%.html.hu.d: hu/%.wml .deps/.stamp
215
+	tmpfile=`mktemp -t tmp.XXXXXXX` \
216
+	lang=`dirname $<` && \
217
+	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
218
+	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
219
+	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
220
+	rm -f $$tmpfile
195 221
 .deps/%.html.ja.d: ja/%.wml .deps/.stamp
196 222
 	tmpfile=`mktemp -t tmp.XXXXXXX` \
197 223
 	lang=`dirname $<` && \
... ...
@@ -269,6 +295,13 @@ all: $(HTMLFILES)
269 295
 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
270 296
 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
271 297
 	rm -f $$tmpfile
298
+.deps/%.html.vn.d: vn/%.wml .deps/.stamp
299
+	tmpfile=`mktemp -t tmp.XXXXXXX` \
300
+	lang=`dirname $<` && \
301
+	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
302
+	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
303
+	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
304
+	rm -f $$tmpfile
272 305
 .deps/%.html.zh-cn.d: zh-cn/%.wml .deps/.stamp
273 306
 	tmpfile=`mktemp -t tmp.XXXXXXX` \
274 307
 	lang=`dirname $<` && \
275 308