d0643f2ad775cacf33c8d09719c9a586a28caf30
Roger Dingledine write down the steps for ad...

Roger Dingledine authored 15 years ago

1) # Directions for adding a new language:
2) # 1. Add the two-letter code to LANGS below.
3) # 2. Add a new "%.html.es: es/%.wml en/%.wml" clause below.
4) # 3. Add a new ".deps/%.html.es.d: es/%.wml .deps/.stamp" clause below.
5) # 4. mkdir a new two-letter directory. Make sure there's a foot.wmi
6) #    and navigation.wmi.
7) # 5. Edit include/perl-globals.wmi, add to @LANGUAGES and %LANGUAGES.
8) #    You might find useful %LANGUAGES strings at the bottom of
9) #    http://debian.org/
10) # 6. Add a new images/es.png flag image.
11) 
Peter Palfrader WMLify eff/

Peter Palfrader authored 18 years ago

12) WMLOPT  = \
13)           -I $(WMLBASE)/include \
14)           -D DOCROOT=$(WMLBASE) \
15)           -D IMGROOT=$(WMLBASE)/images \
Roger Dingledine finish moving to tor-manual...

Roger Dingledine authored 18 years ago

16)           -D TORSVNSTABLE=$(TORSVNSTABLE) \
Sebastian Hahn Build the html manpage for...

Sebastian Hahn authored 14 years ago

17)           -D TORGIT=$(TORGIT) \
18)           -D DEVTAG=$(DEVTAG) \
19)           -D STABLETAG=$(STABLETAG)
Peter Palfrader WMLify eff/

Peter Palfrader authored 18 years ago

20) 
Roger Dingledine add arabic, burmese, and es...

Roger Dingledine authored 14 years ago

21) LANGS=ar bms de en es et fa it fi fr ja ko nl no pl pt ru se tr zh-cn
Mfr Update script for fa langua...

Mfr authored 16 years ago

22) 
Peter Palfrader Split Makefile in two

Peter Palfrader authored 18 years ago

23) WMLFILES=$(wildcard $(patsubst %, %/*.wml, $(LANGS)))
24) WMIFILES=$(wildcard $(patsubst %, %/*.wmi, $(LANGS)) $(WMLBASE)/include/*.wmi )
25) 
Peter Palfrader WMLify eff/

Peter Palfrader authored 18 years ago

26) HTMLFILES = $(shell perl -le 's,  (.*)/(.*).wml  ,        $$2.html.$$1    ,x, print $$_ for @ARGV' $(WMLFILES))
27) DEPFILES  = $(shell perl -le 's,  (.*)/(.*).wml  ,  .deps/$$2.html.$$1.d  ,x, print $$_ for @ARGV' $(WMLFILES))
Peter Palfrader Split Makefile in two

Peter Palfrader authored 18 years ago

28) 
29) 
30) all: $(HTMLFILES)
31) 
32) %.html.en: en/%.wml
Peter Palfrader WMLify eff/

Peter Palfrader authored 18 years ago

33) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
Peter Palfrader Split Makefile in two

Peter Palfrader authored 18 years ago

34) 
Andrew Lewman Attempt to add an ar direct...

Andrew Lewman authored 15 years ago

35) %.html.ar: ar/%.wml en/%.wml
36) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
37) 
Roger Dingledine add arabic, burmese, and es...

Roger Dingledine authored 14 years ago

38) %.html.bms: bms/%.wml en/%.wml
39) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
40) 
Roger Dingledine and make it make the espano...

Roger Dingledine authored 18 years ago

41) %.html.es: es/%.wml en/%.wml
42) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
43) 
Roger Dingledine add arabic, burmese, and es...

Roger Dingledine authored 14 years ago

44) %.html.et: et/%.wml en/%.wml
45) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
46) 
Peter Palfrader Split Makefile in two

Peter Palfrader authored 18 years ago

47) %.html.de: de/%.wml en/%.wml
Peter Palfrader WMLify eff/

Peter Palfrader authored 18 years ago

48) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
Peter Palfrader Split Makefile in two

Peter Palfrader authored 18 years ago

49) 
Roger Dingledine lots of cleanups, but still...

Roger Dingledine authored 16 years ago

50) %.html.fa: fa/%.wml en/%.wml
51) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
52) 
Peter Palfrader Split Makefile in two

Peter Palfrader authored 18 years ago

53) %.html.it: it/%.wml en/%.wml
Peter Palfrader WMLify eff/

Peter Palfrader authored 18 years ago

54) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
Peter Palfrader Split Makefile in two

Peter Palfrader authored 18 years ago

55) 
Roger Dingledine Add the Finnish pages and l...

Roger Dingledine authored 17 years ago

56) %.html.fi: fi/%.wml en/%.wml
57) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
Peter Palfrader Fix broken Makefile.common

Peter Palfrader authored 16 years ago

58) 
Peter Palfrader Split Makefile in two

Peter Palfrader authored 18 years ago

59) %.html.fr: fr/%.wml en/%.wml
Peter Palfrader WMLify eff/

Peter Palfrader authored 18 years ago

60) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
Peter Palfrader Split Makefile in two

Peter Palfrader authored 18 years ago

61) 
Roger Dingledine more steps closer to making...

Roger Dingledine authored 18 years ago

62) %.html.ja: ja/%.wml en/%.wml
63) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
64) 
Roger Dingledine build the korean pages.

Roger Dingledine authored 16 years ago

65) %.html.ko: ko/%.wml en/%.wml
66) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
67) 
Andrew Lewman Add nl as a full language f...

Andrew Lewman authored 17 years ago

68) %.html.nl: nl/%.wml en/%.wml
69) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
70) 
Andrew Lewman revert r21309 and r21310

Andrew Lewman authored 14 years ago

71) %.html.no: no/%.wml en/%.wml
Roger Dingledine and the rest of adding .no...

Roger Dingledine authored 17 years ago

72) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
73) 
Peter Palfrader Add polish index.wml

Peter Palfrader authored 18 years ago

74) %.html.pl: pl/%.wml en/%.wml
75) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
76) 
Peter Palfrader Build portuguese translation

Peter Palfrader authored 18 years ago

77) %.html.pt: pt/%.wml en/%.wml
78) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
79) 
Roger Dingledine simplified chinese, transla...

Roger Dingledine authored 17 years ago

80) %.html.ru: ru/%.wml en/%.wml
81) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
82) 
Andrew Lewman revert r21309 and r21310

Andrew Lewman authored 14 years ago

83) %.html.se: se/%.wml en/%.wml
Peter Palfrader WMLify eff/

Peter Palfrader authored 18 years ago

84) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
Peter Palfrader Split Makefile in two

Peter Palfrader authored 18 years ago

85) 
Andrew Lewman In theory, our new Turkish...

Andrew Lewman authored 16 years ago

86) %.html.tr: tr/%.wml en/%.wml
87) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
88) 
Roger Dingledine revert r21143. two problems...

Roger Dingledine authored 14 years ago

89) %.html.zh-cn: zh-cn/%.wml en/%.wml
Peter Palfrader Add russian translation

Peter Palfrader authored 18 years ago

90) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
91) 
Peter Palfrader Split Makefile in two

Peter Palfrader authored 18 years ago

92) .deps/%.html.en.d: en/%.wml .deps/.stamp
Sebastian Hahn Make the website build proc...

Sebastian Hahn authored 14 years ago

93) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
Peter Palfrader Split Makefile in two

Peter Palfrader authored 18 years ago

94) 	lang=`dirname $<` && \
95) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
Roger Dingledine oh, and this one

Roger Dingledine authored 18 years ago

96) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
97) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
98) 	rm -f $$tmpfile
Andrew Lewman Attempt to add an ar direct...

Andrew Lewman authored 15 years ago

99) .deps/%.html.ar.d: es/%.wml .deps/.stamp
Sebastian Hahn Make the website build proc...

Sebastian Hahn authored 14 years ago

100) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
Andrew Lewman Attempt to add an ar direct...

Andrew Lewman authored 15 years ago

101) 	lang=`dirname $<` && \
102) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
103) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
104) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
105) 	rm -f $$tmpfile
Roger Dingledine add arabic, burmese, and es...

Roger Dingledine authored 14 years ago

106) .deps/%.html.bms.d: bms/%.wml .deps/.stamp
107) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
108) 	lang=`dirname $<` && \
109) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
110) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
111) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
112) 	rm -f $$tmpfile
Roger Dingledine oh, and this one

Roger Dingledine authored 18 years ago

113) .deps/%.html.es.d: es/%.wml .deps/.stamp
Sebastian Hahn Make the website build proc...

Sebastian Hahn authored 14 years ago

114) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
Roger Dingledine oh, and this one

Roger Dingledine authored 18 years ago

115) 	lang=`dirname $<` && \
116) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
Peter Palfrader WMLify eff/

Peter Palfrader authored 18 years ago

117) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
Peter Palfrader Split Makefile in two

Peter Palfrader authored 18 years ago

118) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
119) 	rm -f $$tmpfile
Roger Dingledine add arabic, burmese, and es...

Roger Dingledine authored 14 years ago

120) .deps/%.html.et.d: et/%.wml .deps/.stamp
121) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
122) 	lang=`dirname $<` && \
123) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
124) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
125) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
126) 	rm -f $$tmpfile
Peter Palfrader Split Makefile in two

Peter Palfrader authored 18 years ago

127) .deps/%.html.de.d: de/%.wml .deps/.stamp
Sebastian Hahn Make the website build proc...

Sebastian Hahn authored 14 years ago

128) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
Peter Palfrader Split Makefile in two

Peter Palfrader authored 18 years ago

129) 	lang=`dirname $<` && \
130) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
Peter Palfrader WMLify eff/

Peter Palfrader authored 18 years ago

131) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
Peter Palfrader Split Makefile in two

Peter Palfrader authored 18 years ago

132) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
133) 	rm -f $$tmpfile
134) .deps/%.html.it.d: it/%.wml .deps/.stamp
Sebastian Hahn Make the website build proc...

Sebastian Hahn authored 14 years ago

135) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
Peter Palfrader Split Makefile in two

Peter Palfrader authored 18 years ago

136) 	lang=`dirname $<` && \
137) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
Peter Palfrader WMLify eff/

Peter Palfrader authored 18 years ago

138) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
Peter Palfrader Split Makefile in two

Peter Palfrader authored 18 years ago

139) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
140) 	rm -f $$tmpfile
Peter Palfrader Fix broken Makefile.common

Peter Palfrader authored 16 years ago

141) .deps/%.html.fa.d: fa/%.wml .deps/.stamp
Sebastian Hahn Make the website build proc...

Sebastian Hahn authored 14 years ago

142) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
Mfr Update script for fa langua...

Mfr authored 16 years ago

143) 	lang=`dirname $<` && \
144) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
145) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
146) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
147) 	rm -f $$tmpfile
Roger Dingledine Add the Finnish pages and l...

Roger Dingledine authored 17 years ago

148) .deps/%.html.fi.d: fi/%.wml .deps/.stamp
Sebastian Hahn Make the website build proc...

Sebastian Hahn authored 14 years ago

149) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
Roger Dingledine Add the Finnish pages and l...

Roger Dingledine authored 17 years ago

150) 	lang=`dirname $<` && \
151) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
152) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
153) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
154) 	rm -f $$tmpfile
Peter Palfrader Split Makefile in two

Peter Palfrader authored 18 years ago

155) .deps/%.html.fr.d: fr/%.wml .deps/.stamp
Sebastian Hahn Make the website build proc...

Sebastian Hahn authored 14 years ago

156) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
Peter Palfrader Split Makefile in two

Peter Palfrader authored 18 years ago

157) 	lang=`dirname $<` && \
158) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
Peter Palfrader WMLify eff/

Peter Palfrader authored 18 years ago

159) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
Peter Palfrader Add polish index.wml

Peter Palfrader authored 18 years ago

160) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
161) 	rm -f $$tmpfile
Roger Dingledine more steps closer to making...

Roger Dingledine authored 18 years ago

162) .deps/%.html.ja.d: ja/%.wml .deps/.stamp
Sebastian Hahn Make the website build proc...

Sebastian Hahn authored 14 years ago

163) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
Roger Dingledine more steps closer to making...

Roger Dingledine authored 18 years ago

164) 	lang=`dirname $<` && \
165) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
Roger Dingledine build the korean pages.

Roger Dingledine authored 16 years ago

166) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
167) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
168) 	rm -f $$tmpfile
169) .deps/%.html.ko.d: ko/%.wml .deps/.stamp
Sebastian Hahn Make the website build proc...

Sebastian Hahn authored 14 years ago

170) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
Roger Dingledine build the korean pages.

Roger Dingledine authored 16 years ago

171) 	lang=`dirname $<` && \
172) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
Roger Dingledine more steps closer to making...

Roger Dingledine authored 18 years ago

173) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
Roger Dingledine and the rest of adding .no...

Roger Dingledine authored 17 years ago

174) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
175) 	rm -f $$tmpfile
Andrew Lewman Add nl as a full language f...

Andrew Lewman authored 17 years ago

176) .deps/%.html.nl.d: nl/%.wml .deps/.stamp
Sebastian Hahn Make the website build proc...

Sebastian Hahn authored 14 years ago

177) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
Andrew Lewman Add nl as a full language f...

Andrew Lewman authored 17 years ago

178) 	lang=`dirname $<` && \
179) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
180) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
181) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
182) 	rm -f $$tmpfile
Andrew Lewman revert r21309 and r21310

Andrew Lewman authored 14 years ago

183) .deps/%.html.no.d: no/%.wml .deps/.stamp
Sebastian Hahn Make the website build proc...

Sebastian Hahn authored 14 years ago

184) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
Roger Dingledine and the rest of adding .no...

Roger Dingledine authored 17 years ago

185) 	lang=`dirname $<` && \
186) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
187) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
Roger Dingledine more steps closer to making...

Roger Dingledine authored 18 years ago

188) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
189) 	rm -f $$tmpfile
Peter Palfrader Add polish index.wml

Peter Palfrader authored 18 years ago

190) .deps/%.html.pl.d: pl/%.wml .deps/.stamp
Sebastian Hahn Make the website build proc...

Sebastian Hahn authored 14 years ago

191) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
Peter Palfrader Add polish index.wml

Peter Palfrader authored 18 years ago

192) 	lang=`dirname $<` && \
193) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
194) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
Peter Palfrader Build portuguese translation

Peter Palfrader authored 18 years ago

195) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
196) 	rm -f $$tmpfile
197) .deps/%.html.pt.d: pt/%.wml .deps/.stamp
Sebastian Hahn Make the website build proc...

Sebastian Hahn authored 14 years ago

198) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
Peter Palfrader Build portuguese translation

Peter Palfrader authored 18 years ago

199) 	lang=`dirname $<` && \
200) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
201) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
Peter Palfrader Split Makefile in two

Peter Palfrader authored 18 years ago

202) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
203) 	rm -f $$tmpfile
Roger Dingledine simplified chinese, transla...

Roger Dingledine authored 17 years ago

204) .deps/%.html.ru.d: ru/%.wml .deps/.stamp
Sebastian Hahn Make the website build proc...

Sebastian Hahn authored 14 years ago

205) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
Roger Dingledine simplified chinese, transla...

Roger Dingledine authored 17 years ago

206) 	lang=`dirname $<` && \
207) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
208) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
209) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
210) 	rm -f $$tmpfile
Andrew Lewman revert r21309 and r21310

Andrew Lewman authored 14 years ago

211) .deps/%.html.se.d: se/%.wml .deps/.stamp
Sebastian Hahn Make the website build proc...

Sebastian Hahn authored 14 years ago

212) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
Peter Palfrader Split Makefile in two

Peter Palfrader authored 18 years ago

213) 	lang=`dirname $<` && \
214) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
Peter Palfrader WMLify eff/

Peter Palfrader authored 18 years ago

215) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
Peter Palfrader Split Makefile in two

Peter Palfrader authored 18 years ago

216) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
217) 	rm -f $$tmpfile
Roger Dingledine get closer to adding turkish

Roger Dingledine authored 16 years ago

218) .deps/%.html.tr.d: tr/%.wml .deps/.stamp
Sebastian Hahn Make the website build proc...

Sebastian Hahn authored 14 years ago

219) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
Roger Dingledine get closer to adding turkish

Roger Dingledine authored 16 years ago

220) 	lang=`dirname $<` && \
221) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
222) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
223) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
224) 	rm -f $$tmpfile
Roger Dingledine revert r21143. two problems...

Roger Dingledine authored 14 years ago

225) .deps/%.html.zh-cn.d: zh-cn/%.wml .deps/.stamp
Sebastian Hahn Make the website build proc...

Sebastian Hahn authored 14 years ago

226) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
Peter Palfrader Add russian translation

Peter Palfrader authored 18 years ago

227) 	lang=`dirname $<` && \
228) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
229) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
230) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
231) 	rm -f $$tmpfile
Peter Palfrader Split Makefile in two

Peter Palfrader authored 18 years ago

232) .deps/.stamp:
233) 	[ -d .deps ] || mkdir .deps
234) 	touch "$@"
235) 
236) dep: $(DEPFILES)
237) clean:
238) 	rm -f $(HTMLFILES) $(DEPFILES)
Peter Palfrader WMLify eff/

Peter Palfrader authored 18 years ago

239) 	for sub in $(SUBDIRS); do \
240) 		$(MAKE) -C "$$sub" WMLBASE=../$(WMLBASE) clean; \
241) 	done