changeset 19:06c4a2b72b24

Adjusted PDF manual build to remove extraneous .html file that is currently produced by docbook2pdf
author lost@l-w.ca
date Sat, 22 Jan 2011 17:42:22 -0700
parents 8eddaa2ab6c0
children f4df3bd4b85f
files docs/rules.make
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/docs/rules.make	Sat Jan 22 17:41:55 2011 -0700
+++ b/docs/rules.make	Sat Jan 22 17:42:22 2011 -0700
@@ -13,10 +13,10 @@
 manual-pdf: $(dirname)/manual/manual.pdf
 
 $(dirname)/manual/manual.html: $(dirname)/manual.docbook.sgml
-	docbook2html -u $(dirname)/manual.docbook.sgml && mv manual.docbook.html $(dirname)/manual/manual.html
+	docbook2html -o $(dirname) -u $(dirname)/manual.docbook.sgml && mv $(dirname)/manual.docbook.html $(dirname)/manual/manual.html
 
 $(dirname)/manual/index.html: $(dirname)/manual.docbook.sgml
 	docbook2html -o $(dirname)/manual $(dirname)manual.docbook.sgml
 
 $(dirname)/manual/manual.pdf: $(dirname)/manual.docbook.sgml
-	docbook2pdf -u $(dirname)manual.docbook.sgml && mv manual.docbook.pdf $(dirname)/manual/manual.pdf
+	docbook2pdf -o $(dirname) -u $(dirname)manual.docbook.sgml && mv $(dirname)/manual.docbook.pdf $(dirname)/manual/manual.pdf && rm -f $(dirname)/manual.docbook.html