]> granicus.if.org Git - docbook-dsssl/commitdiff
Do the add-newline thing if value of XSLTENGINE is saxon.
authorMichael Smith <xmldoc@users.sourceforge.net>
Fri, 20 Jul 2007 15:30:48 +0000 (15:30 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Fri, 20 Jul 2007 15:30:48 +0000 (15:30 +0000)
xsl/Makefile.incl

index 0e1800389ea2fa5e0411b59ad8558d7060b223be..e9c742acaac519a34aa99726f49798ca7d5a2ed8 100644 (file)
@@ -4,6 +4,7 @@ PARAMSTRIP=.$(PARAMBASE).stripped
 PARAMDBKNS=.$(PARAMBASE).dbkns
 PARAMXMLID=.$(PARAMBASE).xmlid
 FIXPARAMNS=$(DOCBOOK_SVN)/xsl/tools/xsl/build/fix-params-ns.xsl
+ADDNEWLINE=$(DOCBOOK_SVN)/xsl/tools/xsl/build/addnewline.xsl
 IDTOXMLID=$(DOCBOOK_SVN)/xsl/tools/xsl/build/id-to-xmlid.xsl
 
 XMLFILES=$(foreach file,$(XSLFILES),$(basename $(file)).xml)
@@ -15,7 +16,7 @@ endif
 all: $(ALLTARGETS)
 
 $(PARAMBASE).xsl: $(PARAMDBKNS)
-ifeq ($(ADDNEWLINE),)
+ifneq ($(XSLTENGINE),saxon)
        $(XSLT) $< $(FIXPARAMNS) $@
 else
        $(XSLT) $< $(FIXPARAMNS) $@.tmp
@@ -28,7 +29,7 @@ $(PARAMBASE).xml: $(PARAMXMLID)
        $(XSLT) $< $(IDTOXMLID) > $@
 
 $(PARAMXMLID): $(PARAMSTRIP)
-ifeq ($(ADDNEWLINE),)
+ifneq ($(XSLTENGINE),saxon)
        $(XSLT) $< $(DOCBOOK_SVN)/releasetools/w2docbook.xsl $@
 else
        $(XSLT) $< $(DOCBOOK_SVN)/releasetools/w2docbook.xsl $@.tmp