]> granicus.if.org Git - docbook-dsssl/commitdiff
Added an FO_BUILDER make variable, set to saxon by default.
authorMichael Smith <xmldoc@users.sourceforge.net>
Fri, 6 Jul 2007 16:23:33 +0000 (16:23 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Fri, 6 Jul 2007 16:23:33 +0000 (16:23 +0000)
Because xsltproc performance seems to go waaay south on large
files, so let's build the FO output for the docs using saxon
instead (which is much much quicker on this file)

xsl/doc/Makefile

index e6886900f3b97119b07dfe22d3472e0f3c911cae..826f731bacbd70ded11fa6d06d5bd0ea0a7ea48f 100644 (file)
@@ -1,7 +1,7 @@
 include ../../releasetools/Variables.mk
 
 XJPARSEFLAGS= -E 0 -w
-
+FO_BUILDER=saxon
 XSLTOPT=
 PROCOPT=
 
@@ -56,7 +56,7 @@ index.html: reference.html
        cp -p $< $@
 
 reference.fo: ../docsrc/reference.dbk.included $(REFERENCEFOXSL)
-       $(XSLT) $< $(REFERENCEFOXSL) > $@
+       $(DOCBOOK_SVN)/buildtools/xslt -$(FO_BUILDER) $< $(REFERENCEFOXSL) > $@
 
 reference.pdf: reference.fo
        $(XEP) $(XEPFLAGS) $<