Updates to make doc build on tahini
[exim.git] / doc / doc-docbook / OS-Fixups
index 415a611f573ffae839672ad600d17ed2e1411edc..baae4fb93616082d77679a4f1dbdcb6cd42a994d 100755 (executable)
@@ -1,5 +1,5 @@
 #!/usr/bin/perl -w
 #!/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.
 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"};
 }
 
  {"/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
 sub filter_darwin
 {
 # NB - this uses the Mac Ports installations