e25adbcf48c4662a32e31efd135fbf641189bd50
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 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) 
12) WMLOPT  = \
13)           -I $(WMLBASE)/include \
14)           -D DOCROOT=$(WMLBASE) \
15)           -D IMGROOT=$(WMLBASE)/images \
16)           -D TORGIT=$(TORGIT)\
17)           -D DEVTAG=$(DEVTAG) \
18)           -D STABLETAG=$(STABLETAG)
19) 
Roger Dingledine now the french translation...

Roger Dingledine authored 13 years ago

20) #LANGS=ar bms de en es et fa it fi fr ja ko nl no pl pt ru se tr zh-cn
Runa A. Sandvik updated Makefile.common to...

Runa A. Sandvik authored 13 years ago

21) LANGS=en ar es fr ru pl da it fa de fi vn cy zh-cn pt pt-br id nl
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

22) 
23) WMLFILES=$(wildcard $(patsubst %, %/*.wml, $(LANGS)))
24) WMIFILES=$(wildcard $(patsubst %, %/*.wmi, $(LANGS)) $(WMLBASE)/include/*.wmi )
25) 
Andrew Lewman fix up variables and spaces.

Andrew Lewman authored 14 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))
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

28) 
29) 
30) all: $(HTMLFILES)
31) 
32) %.html.en: en/%.wml
33) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
34) 
35) %.html.ar: ar/%.wml en/%.wml
36) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
37) 
38) %.html.bms: bms/%.wml en/%.wml
39) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
40) 
41) %.html.es: es/%.wml en/%.wml
42) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
43) 
44) %.html.et: et/%.wml en/%.wml
45) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
46) 
47) %.html.de: de/%.wml en/%.wml
48) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
49) 
Runa A. Sandvik include more languages

Runa A. Sandvik authored 13 years ago

50) %.html.da: da/%.wml en/%.wml
51) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
52) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

53) %.html.fa: fa/%.wml en/%.wml
54) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
55) 
Runa A. Sandvik new and updated translation...

Runa A. Sandvik authored 13 years ago

56) %.html.id: id/%.wml en/%.wml
57) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
58) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

59) %.html.it: it/%.wml en/%.wml
60) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
61) 
62) %.html.fi: fi/%.wml en/%.wml
63) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
64) 
65) %.html.fr: fr/%.wml en/%.wml
66) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
67) 
68) %.html.ja: ja/%.wml en/%.wml
69) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
70) 
71) %.html.ko: ko/%.wml en/%.wml
72) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
73) 
74) %.html.nl: nl/%.wml en/%.wml
75) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
76) 
77) %.html.no: no/%.wml en/%.wml
78) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
79) 
80) %.html.pl: pl/%.wml en/%.wml
81) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
82) 
83) %.html.pt: pt/%.wml en/%.wml
84) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
85) 
Runa A. Sandvik updated Makefile.common to...

Runa A. Sandvik authored 13 years ago

86) %.html.pt-br: pt-br/%.wml en/%.wml
87) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
88) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

89) %.html.ru: ru/%.wml en/%.wml
90) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
91) 
92) %.html.se: se/%.wml en/%.wml
93) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
94) 
95) %.html.tr: tr/%.wml en/%.wml
96) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
97) 
Runa A. Sandvik new and updated translation...

Runa A. Sandvik authored 13 years ago

98) %.html.vi: vi/%.wml en/%.wml
99) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
100) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

101) %.html.zh-cn: zh-cn/%.wml en/%.wml
102) 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
103) 
104) .deps/%.html.en.d: en/%.wml .deps/.stamp
105) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
106) 	lang=`dirname $<` && \
107) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
108) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
109) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
110) 	rm -f $$tmpfile
Runa A. Sandvik minor fix

Runa A. Sandvik authored 13 years ago

111) .deps/%.html.ar.d: ar/%.wml .deps/.stamp
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

112) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
113) 	lang=`dirname $<` && \
114) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
115) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
116) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
117) 	rm -f $$tmpfile
118) .deps/%.html.bms.d: bms/%.wml .deps/.stamp
119) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
120) 	lang=`dirname $<` && \
121) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
122) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
123) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
124) 	rm -f $$tmpfile
Runa A. Sandvik new and updated translation...

Runa A. Sandvik authored 13 years ago

125) .deps/%.html.cy.d: cy/%.wml .deps/.stamp
126) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
127) 	lang=`dirname $<` && \
128) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
129) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
130) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
131) 	rm -f $$tmpfile
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

132) .deps/%.html.es.d: es/%.wml .deps/.stamp
133) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
134) 	lang=`dirname $<` && \
135) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
136) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
137) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
138) 	rm -f $$tmpfile
139) .deps/%.html.et.d: et/%.wml .deps/.stamp
140) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
141) 	lang=`dirname $<` && \
142) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
143) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
144) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
145) 	rm -f $$tmpfile
146) .deps/%.html.de.d: de/%.wml .deps/.stamp
147) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
148) 	lang=`dirname $<` && \
149) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
150) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
Runa A. Sandvik include more languages

Runa A. Sandvik authored 13 years ago

151) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
152) 	rm -f $$tmpfile
153) .deps/%.html.da.d: da/%.wml .deps/.stamp
154) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
155) 	lang=`dirname $<` && \
156) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
157) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

158) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
159) 	rm -f $$tmpfile
Runa A. Sandvik new and updated translation...

Runa A. Sandvik authored 13 years ago

160) .deps/%.html.id.d: it/%.wml .deps/.stamp
161) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
162) 	lang=`dirname $<` && \
163) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
164) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
165) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
166) 	rm -f $$tmpfile
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

167) .deps/%.html.it.d: it/%.wml .deps/.stamp
168) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
169) 	lang=`dirname $<` && \
170) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
171) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
172) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
173) 	rm -f $$tmpfile
174) .deps/%.html.fa.d: fa/%.wml .deps/.stamp
175) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
176) 	lang=`dirname $<` && \
177) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
178) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
179) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
180) 	rm -f $$tmpfile
181) .deps/%.html.fi.d: fi/%.wml .deps/.stamp
182) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
183) 	lang=`dirname $<` && \
184) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
185) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
186) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
187) 	rm -f $$tmpfile
188) .deps/%.html.fr.d: fr/%.wml .deps/.stamp
189) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
190) 	lang=`dirname $<` && \
191) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
192) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
193) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
194) 	rm -f $$tmpfile
195) .deps/%.html.ja.d: ja/%.wml .deps/.stamp
196) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
197) 	lang=`dirname $<` && \
198) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
199) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
200) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
201) 	rm -f $$tmpfile
202) .deps/%.html.ko.d: ko/%.wml .deps/.stamp
203) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
204) 	lang=`dirname $<` && \
205) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
206) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
207) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
208) 	rm -f $$tmpfile
209) .deps/%.html.nl.d: nl/%.wml .deps/.stamp
210) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
211) 	lang=`dirname $<` && \
212) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
213) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
214) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
215) 	rm -f $$tmpfile
216) .deps/%.html.no.d: no/%.wml .deps/.stamp
217) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
218) 	lang=`dirname $<` && \
219) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
220) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
221) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
222) 	rm -f $$tmpfile
223) .deps/%.html.pl.d: pl/%.wml .deps/.stamp
224) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
225) 	lang=`dirname $<` && \
226) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
227) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
228) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
229) 	rm -f $$tmpfile
230) .deps/%.html.pt.d: pt/%.wml .deps/.stamp
231) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
232) 	lang=`dirname $<` && \
233) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
234) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
Runa A. Sandvik updated Makefile.common to...

Runa A. Sandvik authored 13 years ago

235) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
236) 	rm -f $$tmpfile
237) .deps/%.html.pt-br.d: pt-br/%.wml .deps/.stamp
238) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
239) 	lang=`dirname $<` && \
240) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
241) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

242) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
243) 	rm -f $$tmpfile
244) .deps/%.html.ru.d: ru/%.wml .deps/.stamp
245) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
246) 	lang=`dirname $<` && \
247) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
248) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
249) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
250) 	rm -f $$tmpfile
251) .deps/%.html.se.d: se/%.wml .deps/.stamp
252) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
253) 	lang=`dirname $<` && \
254) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
255) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
256) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
257) 	rm -f $$tmpfile
258) .deps/%.html.tr.d: tr/%.wml .deps/.stamp
259) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
260) 	lang=`dirname $<` && \
261) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
262) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
263) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
264) 	rm -f $$tmpfile
Runa A. Sandvik new and updated translation...

Runa A. Sandvik authored 13 years ago

265) .deps/%.html.vi.d: vi/%.wml .deps/.stamp
266) 	tmpfile=`mktemp -t tmp.XXXXXXX` \
267) 	lang=`dirname $<` && \
268) 	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
269) 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
270) 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
271) 	rm -f $$tmpfile