]> granicus.if.org Git - postgis/commitdiff
Added pdf rule that uses pdfxmltex
authorPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 13 Sep 2004 15:37:29 +0000 (15:37 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 13 Sep 2004 15:37:29 +0000 (15:37 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@810 b70326c6-7e19-0410-871a-916f4a2858ee

doc/Makefile

index 3e44fe6d014dba69b9d39365a2a353fcb6f71a4c..a4ae349a81da1693662b2fee9e96cd1957dcbc1a 100644 (file)
@@ -23,8 +23,27 @@ html: postgis-out.xml
                /usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl \
                $<
 
+postgis.fo: postgis-out.xml
+       xsltproc \
+               --output $@ \
+               --param shade.verbatim 1 \
+               --param chunk.section.depth 0 \
+               /usr/share/sgml/docbook/xsl-stylesheets/fo/docbook.xsl \
+               $<
+
+postgis.pdf: postgis.fo
+       pdfxmltex $< > /dev/null ; \
+       pdfxmltex $< > /dev/null
+
 jw: postgis-out.xml
        jw $(COMMONOPTS) -o html/ postgis-out.xml
 
 clean:
+       @rm -f \
+               postgis-out.xml \
+               postgis.aux \
+               postgis.fo \
+               postgis.pdf \
+               postgis.out \
+               postgis.log