From 0d34b3ab6beb645de2c511ddbe6f929045a664c0 Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Sun, 7 Mar 2010 20:11:26 +0000 Subject: Suppress double ToC. --- doc/faq/Makefile.am | 11 +++++------ doc/faq/faq.xsl | 4 ++++ 2 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 doc/faq/faq.xsl (limited to 'doc/faq') 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 @@ + + + + -- cgit v1.2.3