From 4a04fa7acf04ef208814ea62e0372e4f93dd30bd Mon Sep 17 00:00:00 2001 From: Nigel Metheringham Date: Fri, 28 May 2010 15:38:18 +0000 Subject: [PATCH] Updates to make doc build on tahini --- doc/doc-docbook/Makefile | 7 ++++--- doc/doc-docbook/MyStyle-chunk-html.xsl | 4 ++-- doc/doc-docbook/MyStyle-filter-fo.xsl | 4 ++-- doc/doc-docbook/MyStyle-nochunk-html.xsl | 4 ++-- doc/doc-docbook/MyStyle-spec-fo.xsl | 4 ++-- doc/doc-docbook/MyStyle-txt-html.xsl | 4 ++-- doc/doc-docbook/OS-Fixups | 11 ++++++++++- 7 files changed, 24 insertions(+), 14 deletions(-) diff --git a/doc/doc-docbook/Makefile b/doc/doc-docbook/Makefile index e6f6487d3..68a93b58b 100644 --- a/doc/doc-docbook/Makefile +++ b/doc/doc-docbook/Makefile @@ -1,4 +1,4 @@ -# $Cambridge: exim/doc/doc-docbook/Makefile,v 1.13 2009/10/16 10:36:52 nm4 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. @@ -12,8 +12,9 @@ notarget:; @echo "** You must specify a target, in the form x.y, where x is ' # # 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 \ +## 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 ################################ diff --git a/doc/doc-docbook/MyStyle-chunk-html.xsl b/doc/doc-docbook/MyStyle-chunk-html.xsl index 4b8691e42..d042f5cea 100644 --- a/doc/doc-docbook/MyStyle-chunk-html.xsl +++ b/doc/doc-docbook/MyStyle-chunk-html.xsl @@ -1,4 +1,4 @@ - + - + diff --git a/doc/doc-docbook/MyStyle-filter-fo.xsl b/doc/doc-docbook/MyStyle-filter-fo.xsl index 2bb6e0a17..c339b1071 100644 --- a/doc/doc-docbook/MyStyle-filter-fo.xsl +++ b/doc/doc-docbook/MyStyle-filter-fo.xsl @@ -1,4 +1,4 @@ - + @@ -8,7 +8,7 @@ all forms of output. Then it imports my FO stylesheet that contains changes for all printed output. Finally, there are some changes that apply only when printing the filter document. --> - + diff --git a/doc/doc-docbook/MyStyle-nochunk-html.xsl b/doc/doc-docbook/MyStyle-nochunk-html.xsl index 1409d741c..9bd7b1f13 100644 --- a/doc/doc-docbook/MyStyle-nochunk-html.xsl +++ b/doc/doc-docbook/MyStyle-nochunk-html.xsl @@ -1,11 +1,11 @@ - + - + diff --git a/doc/doc-docbook/MyStyle-spec-fo.xsl b/doc/doc-docbook/MyStyle-spec-fo.xsl index bd1e82c1f..c9694bd17 100644 --- a/doc/doc-docbook/MyStyle-spec-fo.xsl +++ b/doc/doc-docbook/MyStyle-spec-fo.xsl @@ -1,4 +1,4 @@ - + @@ -8,7 +8,7 @@ all forms of output. Then it imports my FO stylesheet that contains changes for all printed output. Finally, there are some changes that apply only when printing the Exim specification document. --> - + diff --git a/doc/doc-docbook/MyStyle-txt-html.xsl b/doc/doc-docbook/MyStyle-txt-html.xsl index 31e0b0606..2b21fb536 100644 --- a/doc/doc-docbook/MyStyle-txt-html.xsl +++ b/doc/doc-docbook/MyStyle-txt-html.xsl @@ -1,4 +1,4 @@ - + @@ -7,7 +7,7 @@ HTML output, and then imports my common stylesheet for HTML output. Then it adds an instruction to use "(c)" for copyright rather than the Unicode character. --> - + diff --git a/doc/doc-docbook/OS-Fixups b/doc/doc-docbook/OS-Fixups index 415a611f5..baae4fb93 100755 --- a/doc/doc-docbook/OS-Fixups +++ b/doc/doc-docbook/OS-Fixups @@ -1,5 +1,5 @@ #!/usr/bin/perl -w -# $Cambridge: exim/doc/doc-docbook/OS-Fixups,v 1.2 2009/11/09 16:12:37 nm4 Exp $ +# $Cambridge: exim/doc/doc-docbook/OS-Fixups,v 1.3 2010/05/28 15:38:18 nm4 Exp $ use strict; # Script to hack around using absolute paths in xsl:import with fixups. @@ -17,6 +17,15 @@ s{"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"} {"/usr/local/share/xml/docbook/4.2/docbookx.dtd"}; } +sub filter_linux +{ +# SUSE 10 with extra pkgs +s{"/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/} + {"/usr/share/xml/docbook/stylesheet/nwalsh/1.71.1/}; +s{"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"} + {"/usr/share/xml/docbook/schema/dtd/4.2/docbookx.dtd"}; +} + sub filter_darwin { # NB - this uses the Mac Ports installations -- 2.25.1