doc: Don't accidentally create zero-length PDF files
authorKeith Packard <keithp@keithp.com>
Wed, 22 Aug 2018 07:59:59 +0000 (00:59 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 23 Aug 2018 05:39:00 +0000 (22:39 -0700)
The PDF files are generated at the same time the HTML files are, so
the PDF versions depend on the HTML ones. However, touching the PDF
files is a bad idea.

Signed-off-by: Keith Packard <keithp@keithp.com>
doc/Makefile

index 3661a6d64264a11f9338c39222f21b3f2ee0b981..f460a2ff7bc517ca3e5dc02b30f9956cdb5eb700 100644 (file)
@@ -258,7 +258,7 @@ DOC=$(HTML) $(HTML_REVHISTORY) $(PDF) $(IMAGES) $(STYLESHEET)
        case $* in release-notes*) ./fix-html $*.html ;; esac
 
 .html.pdf:
-       @touch $@
+       @echo $@
 
 .tmpl.xsl:
        xsltproc --output $@ /usr/share/xml/docbook/stylesheet/docbook-xsl/template/titlepage.xsl $*.tmpl