Add PDF building to Makefile
authorPaul Crowley <paul@lshift.net>
Tue, 10 Nov 2009 11:03:21 +0000
changeset 184 ec3047e1dadc
parent 180 32cf12a724f8
child 185 f8f8b4018381
Add PDF building to Makefile
Makefile
--- a/Makefile	Mon Nov 09 17:26:22 2009 +0000
+++ b/Makefile	Tue Nov 10 11:03:21 2009 +0000
@@ -30,6 +30,10 @@
 build/html/index.html: doc/manual.docbook
 	xsltproc -o $@ /usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl $^
 
+build/pdf/manual.pdf: doc/manual.docbook
+	mkdir -p build/pdf
+	fop -xml $^ -xsl /usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl $@
+
 pythonbuild:
 	python setup.py build