[Scummvm-cvs-logs] CVS: docs/docbook Makefile,1.4,1.5

Max Horn fingolfin at users.sourceforge.net
Mon Dec 20 17:23:36 CET 2004


Update of /cvsroot/scummvm/docs/docbook
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18883

Modified Files:
	Makefile 
Log Message:
Auto-generate img/*.pdf from the original PNGs

Index: Makefile
===================================================================
RCS file: /cvsroot/scummvm/docs/docbook/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Makefile	21 Dec 2004 01:17:13 -0000	1.4
+++ Makefile	21 Dec 2004 01:22:33 -0000	1.5
@@ -22,6 +22,16 @@
 	xmllint faq.xml > /dev/null
 	xmllint manual.xml > /dev/null
 
+
+#
+# For the PDF version of the manual, some of the images should be converted to
+# from PNG to PDF. The following rule does that using ImageMagick.
+#
+manual.pdf: img/launcher-empty.pdf
+
+img/%.pdf: img/%.png
+	convert $< $@
+
 #
 # The following rules convert our DocBook XML into various target formats
 # with the help of the docbook-utils package. That in turn uses jadetex.
@@ -45,7 +55,6 @@
 	tidy -qm $@ || true
 
 
-
 #
 # This second set of rules uses docbook-xsl and xsltproc (from libxslt)
 # as well as fop to create HTML, XHTML and PDF output.





More information about the Scummvm-git-logs mailing list