Roger Dingledine commited on 2006-01-20 07:31:56
Zeige 1 geänderte Dateien mit 18 Einfügungen und 1 Löschungen.
... | ... |
@@ -22,33 +22,39 @@ WMLFILES=$(wildcard en/*.wml \ |
22 | 22 |
de/*.wml \ |
23 | 23 |
it/*.wml \ |
24 | 24 |
fr/*.wml \ |
25 |
+ se/*.wml \ |
|
25 | 26 |
) |
26 | 27 |
WMIFILES=$(wildcard include/*.wmi \ |
27 | 28 |
en/*.wmi \ |
28 | 29 |
de/*.wmi \ |
29 | 30 |
it/*.wmi \ |
30 | 31 |
fr/*.wmi \ |
32 |
+ se/*.wmi \ |
|
31 | 33 |
) |
32 | 34 |
HTMLFILES = $(patsubst de/%.wml, %.html.de, \ |
33 | 35 |
$(patsubst en/%.wml, %.html.en, \ |
34 | 36 |
$(patsubst it/%.wml, %.html.it, \ |
35 | 37 |
$(patsubst fr/%.wml, %.html.fr, \ |
38 |
+ $(patsubst se/%.wml, %.html.se, \ |
|
36 | 39 |
$(WMLFILES) \ |
37 | 40 |
) \ |
38 | 41 |
) \ |
39 | 42 |
) \ |
43 |
+ ) \ |
|
40 | 44 |
) |
41 | 45 |
DEPFILES = $(patsubst de/%.wml,.deps/%.html.de.d, \ |
42 | 46 |
$(patsubst en/%.wml,.deps/%.html.en.d, \ |
43 | 47 |
$(patsubst it/%.wml,.deps/%.html.it.d, \ |
44 | 48 |
$(patsubst fr/%.wml,.deps/%.html.fr.d,\ |
49 |
+ $(patsubst se/%.wml,.deps/%.html.se.d,\ |
|
45 | 50 |
$(WMLFILES) \ |
46 | 51 |
) \ |
47 | 52 |
) \ |
48 | 53 |
) \ |
54 |
+ ) \ |
|
49 | 55 |
) |
50 | 56 |
|
51 |
-LANGS=de en it fr |
|
57 |
+LANGS=de en it fr se |
|
52 | 58 |
|
53 | 59 |
all: $(HTMLFILES) |
54 | 60 |
|
... | ... |
@@ -66,6 +72,9 @@ all: $(HTMLFILES) |
66 | 72 |
%.html.fr: fr/%.wml en/%.wml |
67 | 73 |
lang=`dirname $<` && wml $(WMLOPT) -I $$lang -D LANG=$$lang $< -o $@ |
68 | 74 |
|
75 |
+%.html.se: se/%.wml en/%.wml |
|
76 |
+ lang=`dirname $<` && wml $(WMLOPT) -I $$lang -D LANG=$$lang $< -o $@ |
|
77 |
+ |
|
69 | 78 |
.deps/%.html.en.d: en/%.wml |
70 | 79 |
@[ -d .deps ] || mkdir .deps |
71 | 80 |
tmpfile=`tempfile` \ |
... | ... |
@@ -98,6 +107,14 @@ all: $(HTMLFILES) |
98 | 107 |
wml $(WMLOPT) -I $$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
99 | 108 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
100 | 109 |
rm -f $$tmpfile |
110 |
+.deps/%.html.se.d: se/%.wml |
|
111 |
+ @[ -d .deps ] || mkdir .deps |
|
112 |
+ tmpfile=`tempfile` \ |
|
113 |
+ lang=`dirname $<` && \ |
|
114 |
+ OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
|
115 |
+ wml $(WMLOPT) -I $$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
|
116 |
+ sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
|
117 |
+ rm -f $$tmpfile |
|
101 | 118 |
|
102 | 119 |
tor-manual-cvs.html.en: $(TORCVSHEAD)/doc/tor.1.in |
103 | 120 |
tor-manual.html.en: $(TORCVSSTABLE)/doc/tor.1.in |
104 | 121 |