]> granicus.if.org Git - docbook-dsssl/commitdiff
Added XSLTENGINE environment variable to make it easier to
authorMichael Smith <xmldoc@users.sourceforge.net>
Wed, 4 Jul 2007 00:22:44 +0000 (00:22 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Wed, 4 Jul 2007 00:22:44 +0000 (00:22 +0000)
specify which XSLT engine you want to use.

buildtools/Makefile.incl
xsl/README.RELEASE-BUILD

index 5d4fc957f4035069fb3ed800b9f1af100b489ce2..aac253cebdcbde0cf854758a31e658abe5833e84 100644 (file)
@@ -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
index 71312f0ac69601a7da57a6e0e3e04b232cacfaa8..e8230432554f32c0da88679b61ed8d20fd4287ae 100644 (file)
@@ -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