-# $Cambridge: exim/doc/doc-docbook/Makefile,v 1.2 2005/11/10 12:30:13 ph10 Exp $
+# $Cambridge: exim/doc/doc-docbook/Makefile,v 1.6 2005/12/20 15:45:02 ph10 Exp $
# Make file for Exim documentation from Asciidoc source.
asciidoc -d book -b docbook -f MyAsciidoc.conf filter.ascd
filter-fo.xml: filter.xml Pre-xml
- Pre-xml -bookinfo <filter.xml >filter-fo.xml
+ ./Pre-xml -bookinfo <filter.xml >filter-fo.xml
filter-html.xml: filter.xml Pre-xml
- Pre-xml -html <filter.xml >filter-html.xml
+ ./Pre-xml -html <filter.xml >filter-html.xml
filter-txt.xml: filter.xml Pre-xml
- Pre-xml -ascii -html <filter.xml >filter-txt.xml
+ ./Pre-xml -ascii -html <filter.xml >filter-txt.xml
filter.fo: filter-fo.xml MyStyle-filter-fo.xsl MyStyle-fo.xsl MyStyle.xsl
/bin/rm -rf filter.fo filter-fo.fo
xmlto -x MyStyle-filter-fo.xsl fo filter-fo.xml
/bin/mv -f filter-fo.fo filter.fo
+# Do not use pdf2ps from the PDF version; better PS is generated directly.
+
filter.ps: filter.fo
fop filter.fo -ps filter-tmp.ps
mv filter-tmp.ps filter.ps
+# Do not use ps2pdf from the PS version; better PDF is generated directly. It
+# contains cross links etc.
+
filter.pdf: filter.fo
fop filter.fo -pdf filter-tmp.pdf
mv filter-tmp.pdf filter.pdf
asciidoc -d book -b docbook -f MyAsciidoc.conf spec.ascd
spec-fo.xml: spec.xml Pre-xml
- Pre-xml <spec.xml >spec-fo.xml
+ ./Pre-xml <spec.xml >spec-fo.xml
spec-html.xml: spec.xml Pre-xml
- Pre-xml -abstract -html -oneindex <spec.xml >spec-html.xml
+ ./Pre-xml -abstract -html -oneindex <spec.xml >spec-html.xml
spec-txt.xml: spec.xml Pre-xml
- Pre-xml -abstract -ascii -html -noindex <spec.xml >spec-txt.xml
+ ./Pre-xml -abstract -ascii -html -noindex <spec.xml >spec-txt.xml
spec.fo: spec-fo.xml MyStyle-spec-fo.xsl MyStyle-fo.xsl MyStyle.xsl MyTitleStyle.xsl
/bin/rm -rf spec.fo spec-fo.fo
xmlto -x MyStyle-spec-fo.xsl fo spec-fo.xml
/bin/mv -f spec-fo.fo spec.fo
+# Do not use pdf2ps from the PDF version; better PS is generated directly.
+
spec.ps: spec.fo
FOP_OPTS=-Xmx512m fop spec.fo -ps spec-tmp.ps
mv spec-tmp.ps spec.ps
+# Do not use ps2pdf from the PS version; better PDF is generated directly. It
+# contains cross links etc.
+
spec.pdf: spec.fo
FOP_OPTS=-Xmx512m fop spec.fo -pdf spec-tmp.pdf
mv spec-tmp.pdf spec.pdf
xmlto -x MyStyle-spec-fo.xsl fo test-fo.xml
/bin/mv -f test-fo.fo test.fo
+# Do not use pdf2ps from the PDF version; better PS is generated directly.
+
test.ps: test.fo
fop test.fo -ps test-tmp.ps
mv test-tmp.ps test.ps
+# Do not use ps2pdf from the PS version; better PDF is generated directly. It
+# contains cross links etc.
+
test.pdf: test.fo
fop test.fo -pdf test-tmp.pdf
mv test-tmp.pdf test.pdf