###################################################################### # # $Id: Makefile,v 1.6 2004/01/22 19:27:28 jmates Exp $ # # The author disclaims all copyrights and releases this document into # the public domain. # # Example Makefile showing generation of a PDF from an eolas document # via libxml2 (xsltproc) and Fop XSL-FO rendering engine. fop: fo @java org.apache.fop.apps.Fop temp.fo example.pdf fo: clean @xsltproc fo-slides.xsl example.xml > temp.fo.1 @xmllint --format temp.fo.1 > temp.fo @rm temp.fo.1 show: fop @open example.pdf clean: @-rm test.html temp.fo example.pdf 2>/dev/null || true test: xsltproc omniweb.xsl example.xml > test.html perl -i -ple 's,http://sial.org/_xs/eolas/,,' test.html