summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNigel Metheringham <nigel@exim.org>2009-11-09 16:12:37 +0000
committerNigel Metheringham <nigel@exim.org>2009-11-09 16:12:37 +0000
commit8127b38f56ed11c265e8ef5b3b65ec1c88421286 (patch)
treebdb0d52799fbeb3bc03e32fb83890bb69d4c37e3 /doc
parent93f2d376d5dd2103ee412c708e612109b2336a78 (diff)
I think this sets up the paths appropriately - probably need to use the OS-Fixups in a more sophisticated fashion. References: #904
Diffstat (limited to 'doc')
-rw-r--r--doc/doc-docbook/MyStyle-chunk-html.xsl4
-rwxr-xr-xdoc/doc-docbook/OS-Fixups12
2 files changed, 13 insertions, 3 deletions
diff --git a/doc/doc-docbook/MyStyle-chunk-html.xsl b/doc/doc-docbook/MyStyle-chunk-html.xsl
index c323a72bf..4b8691e42 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.4 2009/06/30 17:36:39 tom Exp $ -->
+<!-- $Cambridge: exim/doc/doc-docbook/MyStyle-chunk-html.xsl,v 1.5 2009/11/09 16:12:37 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="/home/tom/share/xml/docbook/xsl/1.73.2/xhtml/chunk.xsl"/>
+<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/xhtml/chunk.xsl"/>
<xsl:import href="MyStyle-html.xsl"/>
diff --git a/doc/doc-docbook/OS-Fixups b/doc/doc-docbook/OS-Fixups
index f9c1d987f..415a611f5 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.1 2009/10/16 10:36:52 nm4 Exp $
+# $Cambridge: exim/doc/doc-docbook/OS-Fixups,v 1.2 2009/11/09 16:12:37 nm4 Exp $
use strict;
# Script to hack around using absolute paths in xsl:import with fixups.
@@ -17,6 +17,16 @@ s{"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"}
{"/usr/local/share/xml/docbook/4.2/docbookx.dtd"};
}
+sub filter_darwin
+{
+# NB - this uses the Mac Ports installations
+s{"/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/}
+ {"/opt/local/share/xsl/docbook-xsl/};
+s{"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"}
+ {"/opt/local/share/xml/docbook/4.2/docbookx.dtd"};
+}
+
+
# Define OS filters above.
my $os_filter;