]> granicus.if.org Git - docbook-dsssl/commitdiff
Webhelp: Perform xinclude if xsltproc is the processor
authorDavid Cramer <david@thingbag.net>
Sat, 14 Jan 2012 22:21:17 +0000 (22:21 +0000)
committerDavid Cramer <david@thingbag.net>
Sat, 14 Jan 2012 22:21:17 +0000 (22:21 +0000)
xsl/webhelp/Makefile

index c8bef0a87d416cfb74537c48affc7660e2ba560e..1f9645227451a4f4f09aeda2bb410bc642ee8525 100644 (file)
@@ -7,10 +7,13 @@ all: webhelp
 
 webhelp: docsrc/readme.xml
        $(MAKE) -C ../xhtml
+ifeq ($(XSLTENGINE),xsltproc)
+       $(XSLT) --xinclude $< ../profiling/profile.xsl webhelp-temp.xml 
+else
        $(XSLT) $< ../profiling/profile.xsl webhelp-temp.xml 
-       $(XSLT) webhelp-temp.xml xsl/webhelp.xsl webhelp.include.search.tab="true" webhelp.indexer.language="en" branding="docbook" brandname="DocBook" show.comments=0
+endif
+       $(XSLT) webhelp-temp.xml xsl/webhelp.xsl
        $(ANT) index
-
 clean:
        $(RM) -r docs/*