summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2008-09-09 15:24:12 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2008-09-09 15:26:02 +0100
commitce831875473cfabc1bafb4ccd1a579305130669a (patch)
tree47b6ceb99f0d12eb2e555c7982e15d06b18ea21a /Makefile
parenta91a6174540280beacbcae2b9095ab1b18041f96 (diff)
Put temporary files in tmp/ so they'll be cleaned up
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index a7b8759b..ec2168b8 100644
--- a/Makefile
+++ b/Makefile
@@ -41,15 +41,18 @@ GENERATED_FILES = \
$(CANONICAL_NAMES)
doc/spec.html: $(XMLS) tools/doc-generator.xsl
- $(XSLTPROC) tools/doc-generator.xsl spec/all.xml > $@.tmp
- mv $@.tmp $@
+ @install -d tmp/doc
+ $(XSLTPROC) tools/doc-generator.xsl spec/all.xml > tmp/$@
+ mv tmp/$@ $@
doc/telepathy-spec.devhelp2: $(XMLS) tools/devhelp.xsl
- $(XSLTPROC) tools/devhelp.xsl spec/all.xml > $@.tmp
- mv $@.tmp $@
+ @install -d tmp/doc
+ $(XSLTPROC) tools/devhelp.xsl spec/all.xml > tmp/$@
+ mv tmp/$@ $@
test/output/spec.html: $(TEST_XMLS) tools/doc-generator.xsl
+ @install -d tmp/test/output
@install -d test/output
- $(XSLTPROC) tools/doc-generator.xsl test/input/all.xml > $@.tmp
- mv $@.tmp $@
+ $(XSLTPROC) tools/doc-generator.xsl test/input/all.xml > tmp/$@
+ mv tmp/$@ $@
$(INTROSPECT): introspect/%.xml: spec/%.xml tools/spec-to-introspect.xsl
@install -d introspect