X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/f6bde1c8731b1a066eea1f04cf5431dbb0ac70e0..c15523829ba17cce5829e2976aa1ff928965d948:/doc/doc-docbook/OS-Fixups?ds=sidebyside diff --git a/doc/doc-docbook/OS-Fixups b/doc/doc-docbook/OS-Fixups index baefbb716..0a3b4113d 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.3 2010/05/28 15:38:18 nm4 Exp $ + use strict; # Script to hack around xsl:import paths; ideally, the system catalogs are used. @@ -20,8 +20,13 @@ s{"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"} sub filter_linux { # SUSE 10 with extra pkgs -s{"http://docbook.sourceforge.net/release/xsl/current/} - {"/usr/share/xml/docbook/stylesheet/nwalsh/1.71.1/}; +-d "/usr/share/xml/docbook/stylesheet/nwalsh/1.71.1/" && + s{"http://docbook.sourceforge.net/release/xsl/current/} + {"/usr/share/xml/docbook/stylesheet/nwalsh/1.71.1/}; +# Ubuntu/Debian with standard docbook-xsl pkgs +-d "/usr/share/xml/docbook/stylesheet/docbook-xsl/" && + s{"http://docbook.sourceforge.net/release/xsl/current/} + {"/usr/share/xml/docbook/stylesheet/docbook-xsl/}; s{"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"} {"/usr/share/xml/docbook/schema/dtd/4.2/docbookx.dtd"}; }