From: Michael Smith Date: Fri, 20 Jul 2007 15:30:48 +0000 (+0000) Subject: Do the add-newline thing if value of XSLTENGINE is saxon. X-Git-Tag: release/1.79.1~6^2~1904 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=150e39a327274120a91ba86a0ea51662af694e7d;p=docbook-dsssl Do the add-newline thing if value of XSLTENGINE is saxon. --- diff --git a/xsl/Makefile.incl b/xsl/Makefile.incl index 0e1800389..e9c742aca 100644 --- a/xsl/Makefile.incl +++ b/xsl/Makefile.incl @@ -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