Gitweb:
http://git.exim.org/exim.git/commitdiff/dce7179da790a596fcf724774a751db65f4adcb0
Commit: dce7179da790a596fcf724774a751db65f4adcb0
Parent: 9bdd29ad5c5d394229753b114f6f288893f616f4
Author: Todd Lyons <tlyons@???>
AuthorDate: Wed Oct 2 19:21:22 2013 -0700
Committer: Todd Lyons <tlyons@???>
CommitDate: Wed Oct 2 19:21:22 2013 -0700
Fix docbook paths for xml generation
---
doc/doc-docbook/OS-Fixups | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/doc/doc-docbook/OS-Fixups b/doc/doc-docbook/OS-Fixups
index b3ea524..0a3b411 100755
--- a/doc/doc-docbook/OS-Fixups
+++ b/doc/doc-docbook/OS-Fixups
@@ -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"};
}