summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorShaun McCance <shaunm@src.gnome.org>2007-04-25 21:35:51 +0000
committerShaun McCance <shaunm@src.gnome.org>2007-04-25 21:35:51 +0000
commit06bc164afe8109a706194975e7d1eee5aca6dac8 (patch)
tree7454c76084da368c49788a2922c7a8c3a01b6ad7 /test
parentda92de710e7197c1a24b8e5e659ff6fa23de8d4a (diff)
downloadyelp-xsl-06bc164afe8109a706194975e7d1eee5aca6dac8.tar.gz
- Output to either HTML or XHTML
* doc/xslt/C/gnome-doc-xslt.xml: * test/testbook/Makefile: * xslt/docbook/html/Makefile.am: * xslt/docbook/html/db2html-autotoc.xsl: * xslt/docbook/html/db2html-bibliography.xsl: * xslt/docbook/html/db2html-block.xsl: * xslt/docbook/html/db2html-callout.xsl: * xslt/docbook/html/db2html-classsynopsis.xsl: * xslt/docbook/html/db2html-cmdsynopsis.xsl: * xslt/docbook/html/db2html-css.xsl: * xslt/docbook/html/db2html-division.xsl: * xslt/docbook/html/db2html-ebnf.xsl: * xslt/docbook/html/db2html-footnote.xsl: * xslt/docbook/html/db2html-funcsynopsis.xsl: * xslt/docbook/html/db2html-info.xsl: * xslt/docbook/html/db2html-inline.xsl: * xslt/docbook/html/db2html-l10n.xsl: * xslt/docbook/html/db2html-list.xsl: * xslt/docbook/html/db2html-media.xsl: * xslt/docbook/html/db2html-qanda.xsl: * xslt/docbook/html/db2html-refentry.xsl: * xslt/docbook/html/db2html-table.xsl: * xslt/docbook/html/db2html-title.xsl: * xslt/docbook/html/db2html-xref.xsl: * xslt/docbook/html/db2html.xsl: * xslt/docbook/html/db2xhtml.xsl: - Output to either HTML or XHTML svn path=/trunk/; revision=928
Diffstat (limited to 'test')
-rw-r--r--test/testbook/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/test/testbook/Makefile b/test/testbook/Makefile
index 9fad6f5b..ab8c9d65 100644
--- a/test/testbook/Makefile
+++ b/test/testbook/Makefile
@@ -1,5 +1,5 @@
-.ALL: html
-.PHONY: html
+.ALL: html xhtml
+.PHONY: html xhtml
html:
if [ ! -d html ]; then mkdir html; fi
@@ -11,3 +11,13 @@ html:
--stringparam theme.icon.nav.next "../../../data/icons/nav-next.png" \
../../xslt/docbook/html/db2html.xsl \
testbook.xml
+xhtml:
+ if [ ! -d xhtml ]; then mkdir xhtml; fi
+ rm -f xhtml/*.*
+ xsltproc --timing --nonet --xinclude -o xhtml/ \
+ --param db.chunk.chunk_top 1 \
+ --stringparam theme.icon.admon.path "../../../data/icons/" \
+ --stringparam theme.icon.nav.previous "../../../data/icons/nav-previous.png" \
+ --stringparam theme.icon.nav.next "../../../data/icons/nav-next.png" \
+ ../../xslt/docbook/html/db2xhtml.xsl \
+ testbook.xml