-# $Cambridge: exim/doc/doc-docbook/Makefile,v 1.9 2007/04/11 15:26:09 ph10 Exp $
+# $Cambridge: exim/doc/doc-docbook/Makefile,v 1.13 2009/10/16 10:36:52 nm4 Exp $
# Make file for Exim documentation from xfpt source.
exit 1
+############################# EVERYTHING ###############################
+#
+# Generate all the documentation files...
+#
+everything: spec.pdf spec.ps spec.html spec.info spec.txt \
+ filter.pdf filter.ps filter.html filter.info filter.txt \
+ exim.8
+
############################## MAN PAGE ################################
exim.8: spec.xml x2man
sdop-filter.ps: filter-pr.xml
sdop -o filter.ps filter-pr.xml
-sdop-filter.pdf: sdop-filter.ps
+sdop-filter.pdf: filter.ps
ps2pdf filter.ps filter.pdf
###
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
sdop-spec.ps: spec-pr.xml
sdop -o spec.ps spec-pr.xml
-sdop-spec.pdf: sdop-spec.ps
+sdop-spec.pdf: spec.ps
ps2pdf spec.ps spec.pdf
###
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
########################################################################
sdop-test.ps: test-pr.xml
sdop -o test.ps test-pr.xml
-sdop-test.pdf: sdop-test.ps
+sdop-test.pdf: test.ps
ps2pdf test.ps test.pdf
###
########################################################################
+############################## 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 \