Sebastian Hahn commited on 2010-01-12 19:41:24
Zeige 1 geänderte Dateien mit 18 Einfügungen und 18 Löschungen.
Replace tempfile with mktemp, which seems to be available on more platforms
... | ... |
@@ -82,126 +82,126 @@ all: $(HTMLFILES) |
82 | 82 |
lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@ |
83 | 83 |
|
84 | 84 |
.deps/%.html.en.d: en/%.wml .deps/.stamp |
85 |
- tmpfile=`tempfile` \ |
|
85 |
+ tmpfile=`mktemp -t tmp.XXXXXXX` \ |
|
86 | 86 |
lang=`dirname $<` && \ |
87 | 87 |
OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
88 | 88 |
wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
89 | 89 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
90 | 90 |
rm -f $$tmpfile |
91 | 91 |
.deps/%.html.ar.d: es/%.wml .deps/.stamp |
92 |
- tmpfile=`tempfile` \ |
|
92 |
+ tmpfile=`mktemp -t tmp.XXXXXXX` \ |
|
93 | 93 |
lang=`dirname $<` && \ |
94 | 94 |
OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
95 | 95 |
wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
96 | 96 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
97 | 97 |
rm -f $$tmpfile |
98 | 98 |
.deps/%.html.es.d: es/%.wml .deps/.stamp |
99 |
- tmpfile=`tempfile` \ |
|
99 |
+ tmpfile=`mktemp -t tmp.XXXXXXX` \ |
|
100 | 100 |
lang=`dirname $<` && \ |
101 | 101 |
OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
102 | 102 |
wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
103 | 103 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
104 | 104 |
rm -f $$tmpfile |
105 | 105 |
.deps/%.html.de.d: de/%.wml .deps/.stamp |
106 |
- tmpfile=`tempfile` \ |
|
106 |
+ tmpfile=`mktemp -t tmp.XXXXXXX` \ |
|
107 | 107 |
lang=`dirname $<` && \ |
108 | 108 |
OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
109 | 109 |
wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
110 | 110 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
111 | 111 |
rm -f $$tmpfile |
112 | 112 |
.deps/%.html.it.d: it/%.wml .deps/.stamp |
113 |
- tmpfile=`tempfile` \ |
|
113 |
+ tmpfile=`mktemp -t tmp.XXXXXXX` \ |
|
114 | 114 |
lang=`dirname $<` && \ |
115 | 115 |
OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
116 | 116 |
wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
117 | 117 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
118 | 118 |
rm -f $$tmpfile |
119 | 119 |
.deps/%.html.fa.d: fa/%.wml .deps/.stamp |
120 |
- tmpfile=`tempfile` \ |
|
120 |
+ tmpfile=`mktemp -t tmp.XXXXXXX` \ |
|
121 | 121 |
lang=`dirname $<` && \ |
122 | 122 |
OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
123 | 123 |
wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
124 | 124 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
125 | 125 |
rm -f $$tmpfile |
126 | 126 |
.deps/%.html.fi.d: fi/%.wml .deps/.stamp |
127 |
- tmpfile=`tempfile` \ |
|
127 |
+ tmpfile=`mktemp -t tmp.XXXXXXX` \ |
|
128 | 128 |
lang=`dirname $<` && \ |
129 | 129 |
OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
130 | 130 |
wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
131 | 131 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
132 | 132 |
rm -f $$tmpfile |
133 | 133 |
.deps/%.html.fr.d: fr/%.wml .deps/.stamp |
134 |
- tmpfile=`tempfile` \ |
|
134 |
+ tmpfile=`mktemp -t tmp.XXXXXXX` \ |
|
135 | 135 |
lang=`dirname $<` && \ |
136 | 136 |
OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
137 | 137 |
wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
138 | 138 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
139 | 139 |
rm -f $$tmpfile |
140 | 140 |
.deps/%.html.ja.d: ja/%.wml .deps/.stamp |
141 |
- tmpfile=`tempfile` \ |
|
141 |
+ tmpfile=`mktemp -t tmp.XXXXXXX` \ |
|
142 | 142 |
lang=`dirname $<` && \ |
143 | 143 |
OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
144 | 144 |
wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
145 | 145 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
146 | 146 |
rm -f $$tmpfile |
147 | 147 |
.deps/%.html.ko.d: ko/%.wml .deps/.stamp |
148 |
- tmpfile=`tempfile` \ |
|
148 |
+ tmpfile=`mktemp -t tmp.XXXXXXX` \ |
|
149 | 149 |
lang=`dirname $<` && \ |
150 | 150 |
OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
151 | 151 |
wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
152 | 152 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
153 | 153 |
rm -f $$tmpfile |
154 | 154 |
.deps/%.html.nl.d: nl/%.wml .deps/.stamp |
155 |
- tmpfile=`tempfile` \ |
|
155 |
+ tmpfile=`mktemp -t tmp.XXXXXXX` \ |
|
156 | 156 |
lang=`dirname $<` && \ |
157 | 157 |
OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
158 | 158 |
wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
159 | 159 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
160 | 160 |
rm -f $$tmpfile |
161 | 161 |
.deps/%.html.no.d: no/%.wml .deps/.stamp |
162 |
- tmpfile=`tempfile` \ |
|
162 |
+ tmpfile=`mktemp -t tmp.XXXXXXX` \ |
|
163 | 163 |
lang=`dirname $<` && \ |
164 | 164 |
OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
165 | 165 |
wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
166 | 166 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
167 | 167 |
rm -f $$tmpfile |
168 | 168 |
.deps/%.html.pl.d: pl/%.wml .deps/.stamp |
169 |
- tmpfile=`tempfile` \ |
|
169 |
+ tmpfile=`mktemp -t tmp.XXXXXXX` \ |
|
170 | 170 |
lang=`dirname $<` && \ |
171 | 171 |
OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
172 | 172 |
wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
173 | 173 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
174 | 174 |
rm -f $$tmpfile |
175 | 175 |
.deps/%.html.pt.d: pt/%.wml .deps/.stamp |
176 |
- tmpfile=`tempfile` \ |
|
176 |
+ tmpfile=`mktemp -t tmp.XXXXXXX` \ |
|
177 | 177 |
lang=`dirname $<` && \ |
178 | 178 |
OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
179 | 179 |
wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
180 | 180 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
181 | 181 |
rm -f $$tmpfile |
182 | 182 |
.deps/%.html.ru.d: ru/%.wml .deps/.stamp |
183 |
- tmpfile=`tempfile` \ |
|
183 |
+ tmpfile=`mktemp -t tmp.XXXXXXX` \ |
|
184 | 184 |
lang=`dirname $<` && \ |
185 | 185 |
OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
186 | 186 |
wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
187 | 187 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
188 | 188 |
rm -f $$tmpfile |
189 | 189 |
.deps/%.html.se.d: se/%.wml .deps/.stamp |
190 |
- tmpfile=`tempfile` \ |
|
190 |
+ tmpfile=`mktemp -t tmp.XXXXXXX` \ |
|
191 | 191 |
lang=`dirname $<` && \ |
192 | 192 |
OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
193 | 193 |
wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
194 | 194 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
195 | 195 |
rm -f $$tmpfile |
196 | 196 |
.deps/%.html.tr.d: tr/%.wml .deps/.stamp |
197 |
- tmpfile=`tempfile` \ |
|
197 |
+ tmpfile=`mktemp -t tmp.XXXXXXX` \ |
|
198 | 198 |
lang=`dirname $<` && \ |
199 | 199 |
OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
200 | 200 |
wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
201 | 201 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
202 | 202 |
rm -f $$tmpfile |
203 | 203 |
.deps/%.html.zh-cn.d: zh-cn/%.wml .deps/.stamp |
204 |
- tmpfile=`tempfile` \ |
|
204 |
+ tmpfile=`mktemp -t tmp.XXXXXXX` \ |
|
205 | 205 |
lang=`dirname $<` && \ |
206 | 206 |
OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
207 | 207 |
wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
208 | 208 |