build the korean pages.
Roger Dingledine

Roger Dingledine commited on 2008-07-14 11:45:28
Zeige 1 geänderte Dateien mit 11 Einfügungen und 1 Löschungen.


we still need to make a new column in the flags, for korean and
turkish. will that make the page too wide? hm.

... ...
@@ -6,7 +6,7 @@ WMLOPT  = \
6 6
           -D TORSVNHEAD=$(TORSVNHEAD)
7 7
 
8 8
 
9
-LANGS=de en es it fi fr ja nl no pl pt ru se tr zh-cn
9
+LANGS=de en es it fi fr ja ko nl no pl pt ru se tr zh-cn
10 10
 WMLFILES=$(wildcard $(patsubst %, %/*.wml, $(LANGS)))
11 11
 WMIFILES=$(wildcard $(patsubst %, %/*.wmi, $(LANGS)) $(WMLBASE)/include/*.wmi )
12 12
 
... ...
@@ -37,6 +37,9 @@ all: $(HTMLFILES)
37 37
 %.html.ja: ja/%.wml en/%.wml
38 38
 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
39 39
 
40
+%.html.ko: ko/%.wml en/%.wml
41
+	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
42
+
40 43
 %.html.nl: nl/%.wml en/%.wml
41 44
 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
42 45
 
... ...
@@ -110,6 +113,13 @@ all: $(HTMLFILES)
110 113
 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
111 114
 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
112 115
 	rm -f $$tmpfile
116
+.deps/%.html.ko.d: ko/%.wml .deps/.stamp
117
+	tmpfile=`tempfile` \
118
+	lang=`dirname $<` && \
119
+	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
120
+	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
121
+	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
122
+	rm -f $$tmpfile
113 123
 .deps/%.html.nl.d: nl/%.wml .deps/.stamp
114 124
 	tmpfile=`tempfile` \
115 125
 	lang=`dirname $<` && \
116 126