]> granicus.if.org Git - docbook-dsssl/commitdiff
Webhelp: Tweaking makefile
authorDavid Cramer <david@thingbag.net>
Sat, 14 Jan 2012 21:58:02 +0000 (21:58 +0000)
committerDavid Cramer <david@thingbag.net>
Sat, 14 Jan 2012 21:58:02 +0000 (21:58 +0000)
xsl/webhelp/Makefile

index 2afbaee10ebd35335cbf2cea4fadc375c6b7a60b..22b86b024c39f829628f43d9e3abee2f1727e2d5 100644 (file)
@@ -2,27 +2,15 @@ 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
-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 
+       $(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"
        $(ANT) index
 
-# TODO: Still need to set things up for single pass profiling support.
-#profile-webhelp-common.xsl: webhelp-common.xsl ../profiling/xsl2profile.xsl
-#      $(XSLT) $< ../profiling/xsl2profile.xsl $@
-
 clean:
        $(RM) -r docs/*