Changed invocations of Pre-xml to ./Pre-xml for those without . in their path
[exim.git] / doc / doc-docbook / Makefile
index 60bf5ff9cfcd7afa9da2fedd67153a2f267cbb3d..28dd39ef86dac7be81743f4e684a5c6df289e146 100644 (file)
@@ -1,4 +1,4 @@
-# $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.5 2005/12/13 13:52:07 nm4 Exp $
 
 # Make file for Exim documentation from Asciidoc source.
 
@@ -22,13 +22,13 @@ filter.xml:   filter.ascd MyAsciidoc.conf
              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
@@ -39,9 +39,12 @@ filter.ps:    filter.fo
              fop filter.fo -ps filter-tmp.ps
              mv filter-tmp.ps filter.ps
 
-filter.pdf:   filter.fo
-             fop filter.fo -pdf filter-tmp.pdf
-             mv filter-tmp.pdf filter.pdf
+#filter.pdf:   filter.fo
+#             fop filter.fo -pdf filter-tmp.pdf
+#             mv filter-tmp.pdf filter.pdf
+
+filter.pdf:   filter.ps
+             ps2pdf -sPAPERSIZE=a4 filter.ps filter.pdf
 
 filter.html:  filter-html.xml TidyHTML-filter MyStyle-nochunk-html.xsl MyStyle-html.xsl MyStyle.xsl
              /bin/rm -rf filter.html filter-html.html
@@ -74,13 +77,13 @@ spec.xml:     spec.ascd MyAsciidoc.conf
              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
@@ -91,9 +94,12 @@ spec.ps:      spec.fo
              FOP_OPTS=-Xmx512m fop spec.fo -ps spec-tmp.ps
              mv spec-tmp.ps spec.ps
 
-spec.pdf:     spec.fo
-             FOP_OPTS=-Xmx512m fop spec.fo -pdf spec-tmp.pdf
-             mv spec-tmp.pdf spec.pdf
+#spec.pdf:     spec.fo
+#             FOP_OPTS=-Xmx512m fop spec.fo -pdf spec-tmp.pdf
+#             mv spec-tmp.pdf spec.pdf
+
+spec.pdf:     spec.ps
+             ps2pdf spec.ps spec.pdf
 
 spec.html:    spec-html.xml TidyHTML-spec MyStyle-chunk-html.xsl MyStyle-html.xsl MyStyle.xsl
              /bin/rm -rf spec.html
@@ -144,9 +150,12 @@ test.ps:      test.fo
              fop test.fo -ps test-tmp.ps
              mv test-tmp.ps test.ps
 
-test.pdf:     test.fo
-             fop test.fo -pdf test-tmp.pdf
-             mv test-tmp.pdf test.pdf
+#test.pdf:     test.fo
+#             fop test.fo -pdf test-tmp.pdf
+#             mv test-tmp.pdf test.pdf
+
+test.pdf:     test.ps
+             ps2pdf test.ps test.pdf
 
 test.html:    test-html.xml MyStyle-nochunk-html.xsl MyStyle-html.xsl MyStyle.xsl
              /bin/rm -rf test.html test-html.html