Commit ef267657 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Forward-port: Remove output file if docbook failed

Reviewed-by: ultrotter
parent 228538cf
......@@ -14,7 +14,7 @@ MAINTAINERCLEANFILES = *.html *.pdf
sed -e 's#@GANETI_VERSION@#$(PACKAGE_VERSION)#g' < $< > $@
%.html: %.sgmltmp
docbook2html --nochunks $<
docbook2html --nochunks $< || rm -f $@
%.pdf: %.sgmltmp
docbook2pdf $<
docbook2pdf $< || rm -f $@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment