From: David Cramer Date: Sat, 14 Jan 2012 22:21:17 +0000 (+0000) Subject: Webhelp: Perform xinclude if xsltproc is the processor X-Git-Tag: release/1.79.1~6^2~575 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d54de0e4f7f5b24e68f858f0cf030b521405e105;p=docbook-dsssl Webhelp: Perform xinclude if xsltproc is the processor --- diff --git a/xsl/webhelp/Makefile b/xsl/webhelp/Makefile index c8bef0a87..1f9645227 100644 --- a/xsl/webhelp/Makefile +++ b/xsl/webhelp/Makefile @@ -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/*