Peter Palfrader commited on 2006-01-21 00:18:21
Zeige 1 geänderte Dateien mit 8 Einfügungen und 10 Löschungen.
... | ... |
@@ -75,46 +75,44 @@ all: $(HTMLFILES) |
75 | 75 |
%.html.se: se/%.wml en/%.wml |
76 | 76 |
lang=`dirname $<` && wml $(WMLOPT) -I $$lang -D LANG=$$lang $< -o $@ |
77 | 77 |
|
78 |
-.deps/%.html.en.d: en/%.wml |
|
79 |
- @[ -d .deps ] || mkdir .deps |
|
78 |
+.deps/%.html.en.d: en/%.wml .deps/.stamp |
|
80 | 79 |
tmpfile=`tempfile` \ |
81 | 80 |
lang=`dirname $<` && \ |
82 | 81 |
OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
83 | 82 |
wml $(WMLOPT) -I $$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
84 | 83 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
85 | 84 |
rm -f $$tmpfile |
86 |
-.deps/%.html.de.d: de/%.wml |
|
87 |
- @[ -d .deps ] || mkdir .deps |
|
85 |
+.deps/%.html.de.d: de/%.wml .deps/.stamp |
|
88 | 86 |
tmpfile=`tempfile` \ |
89 | 87 |
lang=`dirname $<` && \ |
90 | 88 |
OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
91 | 89 |
wml $(WMLOPT) -I $$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
92 | 90 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
93 | 91 |
rm -f $$tmpfile |
94 |
-.deps/%.html.it.d: it/%.wml |
|
95 |
- @[ -d .deps ] || mkdir .deps |
|
92 |
+.deps/%.html.it.d: it/%.wml .deps/.stamp |
|
96 | 93 |
tmpfile=`tempfile` \ |
97 | 94 |
lang=`dirname $<` && \ |
98 | 95 |
OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
99 | 96 |
wml $(WMLOPT) -I $$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
100 | 97 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
101 | 98 |
rm -f $$tmpfile |
102 |
-.deps/%.html.fr.d: fr/%.wml |
|
103 |
- @[ -d .deps ] || mkdir .deps |
|
99 |
+.deps/%.html.fr.d: fr/%.wml .deps/.stamp |
|
104 | 100 |
tmpfile=`tempfile` \ |
105 | 101 |
lang=`dirname $<` && \ |
106 | 102 |
OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
107 | 103 |
wml $(WMLOPT) -I $$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
108 | 104 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
109 | 105 |
rm -f $$tmpfile |
110 |
-.deps/%.html.se.d: se/%.wml |
|
111 |
- @[ -d .deps ] || mkdir .deps |
|
106 |
+.deps/%.html.se.d: se/%.wml .deps/.stamp |
|
112 | 107 |
tmpfile=`tempfile` \ |
113 | 108 |
lang=`dirname $<` && \ |
114 | 109 |
OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
115 | 110 |
wml $(WMLOPT) -I $$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
116 | 111 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
117 | 112 |
rm -f $$tmpfile |
113 |
+.deps/.stamp: |
|
114 |
+ [ -d .deps ] || mkdir .deps |
|
115 |
+ touch "$@" |
|
118 | 116 |
|
119 | 117 |
tor-manual-cvs.html.en: $(TORCVSHEAD)/doc/tor.1.in |
120 | 118 |
tor-manual.html.en: $(TORCVSSTABLE)/doc/tor.1.in |
121 | 119 |