update the list of languages in Makefile.commmon.
Andrew Lewman

Andrew Lewman commited on 2010-08-18 22:15:02
Zeige 1 geänderte Dateien mit 31 Einfügungen und 1 Löschungen.

... ...
@@ -18,7 +18,7 @@ WMLOPT  = \
18 18
           -D DEVTAG=$(DEVTAG) \
19 19
           -D STABLETAG=$(STABLETAG)
20 20
 
21
-LANGS=ar bms de en es et fa it fi fr ja ko nl no pl pt ru se tr zh-cn
21
+LANGS=bms de en es et fa fi fr it lv nl no pl pt ru se sk uk zh-cn
22 22
 
23 23
 WMLFILES=$(wildcard $(patsubst %, %/*.wml, $(LANGS)))
24 24
 WMIFILES=$(wildcard $(patsubst %, %/*.wmi, $(LANGS)) $(WMLBASE)/include/*.wmi )
... ...
@@ -65,6 +65,9 @@ all: $(HTMLFILES)
65 65
 %.html.ko: ko/%.wml en/%.wml
66 66
 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
67 67
 
68
+%.html.lv: lv/%.wml en/%.wml
69
+	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
70
+
68 71
 %.html.nl: nl/%.wml en/%.wml
69 72
 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
70 73
 
... ...
@@ -83,9 +86,15 @@ all: $(HTMLFILES)
83 86
 %.html.se: se/%.wml en/%.wml
84 87
 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
85 88
 
89
+%.html.sk: sk/%.wml en/%.wml
90
+	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
91
+
86 92
 %.html.tr: tr/%.wml en/%.wml
87 93
 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
88 94
 
95
+%.html.uk: uk/%.wml en/%.wml
96
+	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
97
+
89 98
 %.html.zh-cn: zh-cn/%.wml en/%.wml
90 99
 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
91 100
 
... ...
@@ -173,6 +182,13 @@ all: $(HTMLFILES)
173 182
 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
174 183
 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
175 184
 	rm -f $$tmpfile
185
+.deps/%.html.lv.d: lv/%.wml .deps/.stamp
186
+	tmpfile=`mktemp -t tmp.XXXXXXX` \
187
+	lang=`dirname $<` && \
188
+	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
189
+	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
190
+	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
191
+	rm -f $$tmpfile
176 192
 .deps/%.html.nl.d: nl/%.wml .deps/.stamp
177 193
 	tmpfile=`mktemp -t tmp.XXXXXXX` \
178 194
 	lang=`dirname $<` && \
... ...
@@ -215,6 +231,13 @@ all: $(HTMLFILES)
215 231
 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
216 232
 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
217 233
 	rm -f $$tmpfile
234
+.deps/%.html.sk.d: sk/%.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
218 241
 .deps/%.html.tr.d: tr/%.wml .deps/.stamp
219 242
 	tmpfile=`mktemp -t tmp.XXXXXXX` \
220 243
 	lang=`dirname $<` && \
... ...
@@ -222,6 +245,13 @@ all: $(HTMLFILES)
222 245
 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
223 246
 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
224 247
 	rm -f $$tmpfile
248
+.deps/%.html.uk.d: uk/%.wml .deps/.stamp
249
+	tmpfile=`mktemp -t tmp.XXXXXXX` \
250
+	lang=`dirname $<` && \
251
+	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
252
+	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
253
+	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
254
+	rm -f $$tmpfile
225 255
 .deps/%.html.zh-cn.d: zh-cn/%.wml .deps/.stamp
226 256
 	tmpfile=`mktemp -t tmp.XXXXXXX` \
227 257
 	lang=`dirname $<` && \
228 258