Updates to make doc build on tahini
[exim.git] / doc / doc-docbook / Makefile
index 875f4d9f6767765933a383a013da5217c5bafe1a..68a93b58bb5ecc4edaa87953baf0b0197ee08506 100644 (file)
@@ -1,4 +1,4 @@
-# $Cambridge: exim/doc/doc-docbook/Makefile,v 1.10 2007/04/17 13:06:09 ph10 Exp $
+# $Cambridge: exim/doc/doc-docbook/Makefile,v 1.14 2010/05/28 15:38:18 nm4 Exp $
 
 # Make file for Exim documentation from xfpt source.
 
@@ -8,6 +8,15 @@ notarget:;    @echo "** You must specify a target, in the form x.y, where x is '
              exit 1
 
 
+############################# EVERYTHING ###############################
+#
+# Generate all the documentation files...
+#
+## removed info files as I cannot generate them -  spec.info filter.info
+everything:            spec.pdf        spec.ps         spec.html       spec.txt \
+                               filter.pdf      filter.ps       filter.html filter.txt \
+                               exim.8
+
 ############################## MAN PAGE ################################
 
 exim.8:       spec.xml x2man
@@ -96,7 +105,7 @@ filter.txt:   filter-txt.xml Tidytxt MyStyle-txt-html.xsl MyStyle-html.xsl \
 filter.info:  filter-info.xml
              docbook2texi filter-info.xml
              perl -ne 's/conceptindex/cindex/;s/optionindex/findex/;print;' \
-               <exim_filtering.texi | Tidytxt >filter.texinfo
+               <exim_filtering.texi | ./Tidytxt >filter.texinfo
              /bin/rm -rf exim_filtering.texi
              makeinfo -o filter.info filter.texinfo
 
@@ -187,7 +196,7 @@ spec.info:    spec-info.xml
              docbook2texi spec-info.xml
              ./TidyInfo <the_exim_mta.texi >spec.texinfo
              /bin/rm -rf the_exim_mta.texi
-             makeinfo -o spec.info spec.texinfo
+             makeinfo -o spec.info --no-split spec.texinfo
 
 ########################################################################
 
@@ -282,6 +291,18 @@ test.info:    test-info.xml
 ########################################################################
 
 
+############################## OS FIXUP ################################
+
+# Yes, we've advanced so far in text processing that we now have to
+# hardcode in complete paths and so become dependent upon exactly where
+# files were installed for xsl:import.  Which of course varies by OS.
+
+os-fixup:
+       ./OS-Fixups
+
+########################################################################
+
+
 ################################ CLEAN #################################
 
 clean:; /bin/rm -rf exim.8 \