From: Michael Smith Date: Wed, 4 Jul 2007 00:22:44 +0000 (+0000) Subject: Added XSLTENGINE environment variable to make it easier to X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d256f9232e6cefa26058d3e383dd1ee332bfea83;p=docbook-dsssl Added XSLTENGINE environment variable to make it easier to specify which XSLT engine you want to use. --- diff --git a/buildtools/Makefile.incl b/buildtools/Makefile.incl index 5d4fc957f..aac253ceb 100644 --- a/buildtools/Makefile.incl +++ b/buildtools/Makefile.incl @@ -18,7 +18,8 @@ XJPARSEFLAGS= XNSGMLS=xnsgmls DTDDISTRIB=$(CVSTOOLSROOT)/dtd-distrib JADE=$(CVSTOOLSROOT)/runjade -XSLT=$(CVSTOOLSROOT)/xslt +XSLTENGINE=saxon +XSLT=$(CVSTOOLSROOT)/xslt -$(XSLTENGINE) XSLTOPT= XSLTPROC= RUNTRANG=$(CVSTOOLSROOT)/runtrang diff --git a/xsl/README.RELEASE-BUILD b/xsl/README.RELEASE-BUILD index 71312f0ac..e82304325 100644 --- a/xsl/README.RELEASE-BUILD +++ b/xsl/README.RELEASE-BUILD @@ -99,11 +99,11 @@ Release Build Setup/Testing . ~/docbk.sh && \ svn-clean && \ make all 2>&1 \ - XSLT="$DOCBOOK_SVN/buildtools/xslt -xsltproc" \ + XSLTENGINE=xsltproc \ | tee LOG NOTE: If you want to build with saxon instead of xsltproc, - change the "-xsltproc" above to "-saxon". + change the "xsltproc" above to "saxon". NOTE: The svn-clean command is something that's not part of the core subversion distribution (on my system, it's part of the @@ -171,7 +171,7 @@ Release Build Setup/Testing make install.sh && ./install.sh --batch \ && . $(pwd)/.profile.incl && ./test.sh && make distrib 2>&1 \ - XSLT="$DOCBOOK_SVN/buildtools/xslt -xsltproc" \ + XSLTENGINE=xsltproc \ PDF_MAKER=dblatex \ | tee LOG \ && ./uninstall.sh --batch 2>&1