From: Keith Packard Date: Wed, 22 Aug 2018 07:59:59 +0000 (-0700) Subject: doc: Don't accidentally create zero-length PDF files X-Git-Tag: 1.8.7~3^2~48 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=8dd942b59edbe6909128b88bfbb8d1e15c3857c6 doc: Don't accidentally create zero-length PDF files 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 --- diff --git a/doc/Makefile b/doc/Makefile index 3661a6d6..f460a2ff 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -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