From: Michal Nowikowski Date: Thu, 6 Jun 2019 08:35:30 +0000 (+0200) Subject: [#657,!368,] fixed encoding in generated kea guide in html format X-Git-Tag: Kea-1.6.0-beta2~322 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8536197772f04baeaf019b206e0041394a196c94;p=thirdparty%2Fkea.git [#657,!368,] fixed encoding in generated kea guide in html format --- diff --git a/doc/guide/Makefile.am b/doc/guide/Makefile.am index 948fc9e58b..d49686c001 100644 --- a/doc/guide/Makefile.am +++ b/doc/guide/Makefile.am @@ -12,7 +12,7 @@ DOCBOOK += hooks-ha.xml hooks-host-cache.xml hooks-lease-cmds.xml hooks-radius.x DOCBOOK += hooks-stat-cmds.xml lfc.xml stats.xml ctrl-channel.xml classify.xml shell.xml DOCBOOK += agent.xml netconf.xml api.xml congestion-handling.xml hammer.xml -EXTRA_DIST = $(DOCBOOK) +EXTRA_DIST = $(DOCBOOK) kea-docbook.xsl DISTCLEANFILES = $(HTMLDOCS) $(DOCS) kea-messages.xml @@ -30,7 +30,7 @@ kea-guide.html: $(DOCBOOK) --stringparam section.autolabel 1 \ --stringparam section.label.includes.component.label 1 \ --stringparam html.stylesheet kea-guide.css \ - http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl \ + $(srcdir)/kea-docbook.xsl \ $(srcdir)/kea-guide.xml kea-guide.txt: kea-guide.html @@ -42,8 +42,8 @@ kea-messages.html: kea-messages.xml -o $@ \ --stringparam generate.toc "book toc" \ --stringparam html.stylesheet kea-guide.css \ - http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl \ - kea-messages.xml + $(srcdir)/kea-docbook.xsl \ + $(srcdir)/kea-messages.xml else diff --git a/doc/guide/kea-docbook.xsl b/doc/guide/kea-docbook.xsl new file mode 100644 index 0000000000..af61b7eced --- /dev/null +++ b/doc/guide/kea-docbook.xsl @@ -0,0 +1,12 @@ + + + + + + + + +