Man page can now be built on any system.

Closes #1139. Huge thanks to Chris Mayo.
This commit is contained in:
Roger A. Light 2019-02-03 08:26:00 +00:00
parent 9df6da16ec
commit ce1d0ae364
4 changed files with 4 additions and 3 deletions

View File

@ -38,6 +38,7 @@ Build:
- Fix comparison of boolean values in CMake build. Closes #1101. - Fix comparison of boolean values in CMake build. Closes #1101.
- Fix compilation when openssl deprecated APIs are not available. - Fix compilation when openssl deprecated APIs are not available.
Closes #1094. Closes #1094.
- Man pages can now be built on any system. Closes #1139.
1.5.5 - 20181211 1.5.5 - 20181211

View File

@ -111,7 +111,7 @@ VERSION=1.5.5
SOVERSION=1 SOVERSION=1
# Man page generation requires xsltproc and docbook-xsl # Man page generation requires xsltproc and docbook-xsl
XSLTPROC=xsltproc XSLTPROC=xsltproc --nonet
# For html generation # For html generation
DB_HTML_XSL=man/html.xsl DB_HTML_XSL=man/html.xsl

View File

@ -1,6 +1,6 @@
<!-- Set parameters for manpage xsl --> <!-- Set parameters for manpage xsl -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="/usr/share/xml/docbook/stylesheet/docbook-xsl/html/docbook.xsl"/> <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/>
<xsl:output encoding="utf-8" indent="yes"/> <xsl:output encoding="utf-8" indent="yes"/>
<xsl:param name="html.stylesheet">man.css</xsl:param> <xsl:param name="html.stylesheet">man.css</xsl:param>
<!-- Generate ansi style function synopses. --> <!-- Generate ansi style function synopses. -->

View File

@ -1,6 +1,6 @@
<!-- Set parameters for manpage xsl --> <!-- Set parameters for manpage xsl -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl"/> <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"/>
<xsl:strip-space elements="member"/> <xsl:strip-space elements="member"/>
<!-- Don't display notes list of link urls. --> <!-- Don't display notes list of link urls. -->
<xsl:param name="man.endnotes.list.enabled">0</xsl:param> <xsl:param name="man.endnotes.list.enabled">0</xsl:param>