diff options
author | Julian Andres Klode <jak@debian.org> | 2016-08-21 20:37:14 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2016-08-23 17:52:41 +0200 |
commit | 9fb81c6e54a2fe05c0ad0b877fd32f30358e3877 (patch) | |
tree | 8f3fd830f500b9103dfea2c63a044c5602ce9f70 /doc | |
parent | d651c4cd71a43c385c3d3bcd3a9f25bf0a67f8f2 (diff) |
CMake: Discover docbook stylesheet in other locations
Distributions seem to install this stuff all over the place, so
let's add a common list of paths we know about.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/docbook-html-style.xsl.cmake.in (renamed from doc/docbook-html-style.xsl) | 2 | ||||
-rw-r--r-- | doc/docbook-text-style.xsl.cmake.in (renamed from doc/docbook-text-style.xsl) | 2 | ||||
-rw-r--r-- | doc/manpage-style.xsl.cmake.in (renamed from doc/manpage-style.xsl) | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/docbook-html-style.xsl b/doc/docbook-html-style.xsl.cmake.in index e4af9f557..9216d8e6e 100644 --- a/doc/docbook-html-style.xsl +++ b/doc/docbook-html-style.xsl.cmake.in @@ -2,7 +2,7 @@ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <!-- Import our base stylesheet --> - <xsl:import href="/usr/share/xml/docbook/stylesheet/docbook-xsl/xhtml-1_1/chunk.xsl" /> + <xsl:import href="@DOCBOOK_XSL@/xhtml-1_1/chunk.xsl" /> <!-- Since we use xsltproc (not saxon), add a workaround to ensure UTF-8 --> <xsl:template xmlns="http://www.w3.org/1999/xhtml" name="head.content.generator"> diff --git a/doc/docbook-text-style.xsl b/doc/docbook-text-style.xsl.cmake.in index 376dded52..36af1bcb2 100644 --- a/doc/docbook-text-style.xsl +++ b/doc/docbook-text-style.xsl.cmake.in @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> - <xsl:import href="/usr/share/xml/docbook/stylesheet/docbook-xsl/xhtml-1_1/docbook.xsl" /> + <xsl:import href="@DOCBOOK_XSL@/xhtml-1_1/docbook.xsl" /> <!-- Parameters for optimal text output. --> <xsl:param name="callout.graphics" select="0"/> diff --git a/doc/manpage-style.xsl b/doc/manpage-style.xsl.cmake.in index a780bad13..53d6780cb 100644 --- a/doc/manpage-style.xsl +++ b/doc/manpage-style.xsl.cmake.in @@ -2,7 +2,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> -<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl" /> +<xsl:import href="@DOCBOOK_XSL@/manpages/docbook.xsl" /> <xsl:param name="man.output.encoding" select="'UTF-8'" /> |