From: Kasun Gajasinghe Date: Sat, 1 Oct 2011 08:57:47 +0000 (+0000) Subject: parameterized MAKE for webhelp X-Git-Tag: release/1.79.1~6^2~667 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d16bea637b5f50c7a6a712e1cabc2af576140319;p=docbook-dsssl parameterized MAKE for webhelp --- diff --git a/xsl/webhelp/Makefile b/xsl/webhelp/Makefile index 6088b73a0..2afbaee10 100644 --- a/xsl/webhelp/Makefile +++ b/xsl/webhelp/Makefile @@ -2,12 +2,21 @@ include $(DOCBOOK_SVN)/buildtools/Makefile.incl ANT = ant ANT_OPTS = +XSLTPROC_OPTS="--stringparam webhelp.include.search.tab true --stringparam webhelp.indexer.language en --stringparam branding docbook --stringparam brandname DocBook" +XSLTSAXON_OPTS=webhelp.include.search.tab="true" webhelp.indexer.language="en" branding="docbook" brandname="DocBook" +XSLTXALAN_OPTS="-param webhelp.include.search.tab true -param webhelp.indexer.language en -param branding docbook -param brandname DocBook" all: webhelp webhelp: docsrc/readme.xml $(MAKE) -C ../xhtml - $(XSLT) $< xsl/webhelp.xsl +ifeq ($(XSLTENGINE),saxon) + $(XSLT) $< xsl/webhelp.xsl ${XSLTSAXON_OPTS} +else ifeq ($(XSLTENGINE),xalan) + $(XSLT) $< xsl/webhelp.xsl ${XSLTXALAN_OPTS} +else + $(XSLT) ${XSLTPROC_OPTS} $< xsl/webhelp.xsl +endif $(ANT) index # TODO: Still need to set things up for single pass profiling support.