summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNigel Metheringham <nigel@exim.org>2010-05-28 15:38:18 +0000
committerNigel Metheringham <nigel@exim.org>2010-05-28 15:38:18 +0000
commit4a04fa7acf04ef208814ea62e0372e4f93dd30bd (patch)
tree80da9f65d0351e9861d67d00bd689109f50abe62
parenta466095c0f9c7f48b1c9f857b5a17cab69fecd28 (diff)
Updates to make doc build on tahini
-rw-r--r--doc/doc-docbook/Makefile7
-rw-r--r--doc/doc-docbook/MyStyle-chunk-html.xsl4
-rw-r--r--doc/doc-docbook/MyStyle-filter-fo.xsl4
-rw-r--r--doc/doc-docbook/MyStyle-nochunk-html.xsl4
-rw-r--r--doc/doc-docbook/MyStyle-spec-fo.xsl4
-rw-r--r--doc/doc-docbook/MyStyle-txt-html.xsl4
-rwxr-xr-xdoc/doc-docbook/OS-Fixups11
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 @@
-<!-- $Cambridge: exim/doc/doc-docbook/MyStyle-chunk-html.xsl,v 1.5 2009/11/09 16:12:37 nm4 Exp $ -->
+<!-- $Cambridge: exim/doc/doc-docbook/MyStyle-chunk-html.xsl,v 1.6 2010/05/28 15:38:18 nm4 Exp $ -->
<!-- This stylesheet driver imports the DocBook XML stylesheet for chunked
HTML output, and then imports my common stylesheet for HTML output. Finally, it
@@ -7,7 +7,7 @@ section chunking). -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
-<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/xhtml/chunk.xsl"/>
+<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/1.71.1/xhtml/chunk.xsl"/>
<xsl:import href="MyStyle-html.xsl"/>
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 @@
-<!-- $Cambridge: exim/doc/doc-docbook/MyStyle-filter-fo.xsl,v 1.3 2006/12/19 12:28:35 ph10 Exp $ -->
+<!-- $Cambridge: exim/doc/doc-docbook/MyStyle-filter-fo.xsl,v 1.4 2010/05/28 15:38:18 nm4 Exp $ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
@@ -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. -->
-<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/fo/docbook.xsl"/>
+<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/1.71.1/fo/docbook.xsl"/>
<xsl:import href="MyStyle.xsl"/>
<xsl:import href="MyStyle-fo.xsl"/>
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 @@
-<!-- $Cambridge: exim/doc/doc-docbook/MyStyle-nochunk-html.xsl,v 1.3 2006/12/19 12:28:35 ph10 Exp $ -->
+<!-- $Cambridge: exim/doc/doc-docbook/MyStyle-nochunk-html.xsl,v 1.4 2010/05/28 15:38:18 nm4 Exp $ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
<!-- This stylesheet driver imports the DocBook XML stylesheet for unchunked
HTML output, and then imports my common stylesheet for HTML output. -->
-<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/xhtml/docbook.xsl"/>
+<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/1.71.1/xhtml/docbook.xsl"/>
<xsl:import href="MyStyle-html.xsl"/>
</xsl:stylesheet>
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 @@
-<!-- $Cambridge: exim/doc/doc-docbook/MyStyle-spec-fo.xsl,v 1.5 2006/12/19 12:28:35 ph10 Exp $ -->
+<!-- $Cambridge: exim/doc/doc-docbook/MyStyle-spec-fo.xsl,v 1.6 2010/05/28 15:38:18 nm4 Exp $ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
@@ -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. -->
-<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/fo/docbook.xsl"/>
+<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/1.71.1/fo/docbook.xsl"/>
<xsl:import href="MyStyle.xsl"/>
<xsl:import href="MyStyle-fo.xsl"/>
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 @@
-<!-- $Cambridge: exim/doc/doc-docbook/MyStyle-txt-html.xsl,v 1.3 2006/12/19 12:28:35 ph10 Exp $ -->
+<!-- $Cambridge: exim/doc/doc-docbook/MyStyle-txt-html.xsl,v 1.4 2010/05/28 15:38:18 nm4 Exp $ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
@@ -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. -->
-<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/xhtml/docbook.xsl"/>
+<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/1.71.1/xhtml/docbook.xsl"/>
<xsl:import href="MyStyle-html.xsl"/>
<xsl:template name="dingbat.characters">
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