[Telepathy-commits] [telepathy-spec/master] If xsltproc fails, don't leave its output apparently up to date
Simon McVittie
simon.mcvittie at collabora.co.uk
Tue Aug 26 07:12:31 PDT 2008
---
Makefile | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index bfb526f..529bdc7 100644
--- a/Makefile
+++ b/Makefile
@@ -38,12 +38,15 @@ GENERATED_FILES = \
$(CANONICAL_NAMES)
doc/spec.html: $(XMLS) tools/doc-generator.xsl
- $(XSLTPROC) tools/doc-generator.xsl spec/all.xml > $@
+ $(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 > $@
+ $(XSLTPROC) tools/devhelp.xsl spec/all.xml > $@.tmp
+ mv $@.tmp $@
test/output/spec.html: $(TEST_XMLS) tools/doc-generator.xsl
@install -d test/output
- $(XSLTPROC) tools/doc-generator.xsl test/input/all.xml > $@
+ $(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
--
1.5.6.3
More information about the Telepathy-commits
mailing list