From d54de0e4f7f5b24e68f858f0cf030b521405e105 Mon Sep 17 00:00:00 2001 From: David Cramer Date: Sat, 14 Jan 2012 22:21:17 +0000 Subject: [PATCH] Webhelp: Perform xinclude if xsltproc is the processor --- xsl/webhelp/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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/* -- 2.40.0