Roger Dingledine commited on 2006-10-14 11:45:42
Zeige 11 geänderte Dateien mit 20 Einfügungen und 10 Löschungen.
... | ... |
@@ -6,7 +6,7 @@ WMLOPT = \ |
6 | 6 |
-D TORSVNHEAD=$(TORSVNHEAD) |
7 | 7 |
|
8 | 8 |
|
9 |
-LANGS=de en es it fr pl pt se ru |
|
9 |
+LANGS=de en es it fr ja pl pt se ru |
|
10 | 10 |
WMLFILES=$(wildcard $(patsubst %, %/*.wml, $(LANGS))) |
11 | 11 |
WMIFILES=$(wildcard $(patsubst %, %/*.wmi, $(LANGS)) $(WMLBASE)/include/*.wmi ) |
12 | 12 |
|
... | ... |
@@ -31,6 +31,9 @@ all: $(HTMLFILES) |
31 | 31 |
%.html.fr: fr/%.wml en/%.wml |
32 | 32 |
lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@ |
33 | 33 |
|
34 |
+%.html.ja: ja/%.wml en/%.wml |
|
35 |
+ lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@ |
|
36 |
+ |
|
34 | 37 |
%.html.pl: pl/%.wml en/%.wml |
35 | 38 |
lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@ |
36 | 39 |
|
... | ... |
@@ -78,6 +81,13 @@ all: $(HTMLFILES) |
78 | 81 |
wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
79 | 82 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
80 | 83 |
rm -f $$tmpfile |
84 |
+.deps/%.html.ja.d: ja/%.wml .deps/.stamp |
|
85 |
+ tmpfile=`tempfile` \ |
|
86 |
+ lang=`dirname $<` && \ |
|
87 |
+ OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
|
88 |
+ wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
|
89 |
+ sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
|
90 |
+ rm -f $$tmpfile |
|
81 | 91 |
.deps/%.html.pl.d: pl/%.wml .deps/.stamp |
82 | 92 |
tmpfile=`tempfile` \ |
83 | 93 |
lang=`dirname $<` && \ |