diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/faq/Makefile.am | 11 | ||||
-rw-r--r-- | doc/faq/faq.xsl | 4 |
2 files changed, 9 insertions, 6 deletions
diff --git a/doc/faq/Makefile.am b/doc/faq/Makefile.am index cbaceb68e..dd3d92c38 100644 --- a/doc/faq/Makefile.am +++ b/doc/faq/Makefile.am @@ -3,7 +3,7 @@ include $(top_srcdir)/misc/Makefile.common doc_DATA = faq.txt html_DATA = faq.html -EXTRA_DIST = README faq.docbook $(doc_DATA) $(html_DATA) +EXTRA_DIST = README faq.docbook faq.xsl $(doc_DATA) $(html_DATA) DISTCLEANFILES = $(doc_DATA) $(html_DATA) @@ -22,11 +22,10 @@ dist-hook: distclean-local: clean-docs if HAVE_XMLTO -faq.html: faq.docbook - xmlto xhtml-nochunks $^ - -faq.txt: faq.docbook - xmlto txt $^ +faq.html: faq.docbook faq.xsl + xmlto -m faq.xsl xhtml-nochunks $< +faq.txt: faq.docbook faq.xsl + xmlto -m faq.xsl txt $< else faq.html faq.txt: faq.docbook if test x"$(fail_if_missing)" = x"yes"; then \ diff --git a/doc/faq/faq.xsl b/doc/faq/faq.xsl new file mode 100644 index 000000000..524600be1 --- /dev/null +++ b/doc/faq/faq.xsl @@ -0,0 +1,4 @@ +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> +<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl" /> +<xsl:param name="generate.toc" select="'article toc'" /> +</xsl:stylesheet> |