diff DOCS/xml/Makefile.inc @ 10025:970a95a4d856

Add support for the Saxon XSLT Processor.
author lumag
date Wed, 30 Apr 2003 16:41:14 +0000
parents 461f71ba8af4
children 3c0e1b182fbc
line wrap: on
line diff
--- a/DOCS/xml/Makefile.inc	Wed Apr 30 11:39:32 2003 +0000
+++ b/DOCS/xml/Makefile.inc	Wed Apr 30 16:41:14 2003 +0000
@@ -20,8 +20,12 @@
 $(HTMLDIR)/index.html: documentation.xml $(XSL_DEPS)
 	-rm -f $(HTMLDIR)/*
 	$(XMLLINT) --noout --noent --postvalid --catalogs $<
+	cp $(HTML_STYLESHEET) $(HTMLDIR)/
+ifeq (0,$(USE_SAXON))
 	$(XSLTPROC) --catalogs -o $(HTMLDIR)/ $(HTML_XSL) $<
-	cp $(HTML_STYLESHEET) $(HTMLDIR)/
+else
+	cd $(HTMLDIR) && $(SAXON_COMMAND) $(CURDIR)/$< $(CURDIR)/$(HTML_XSL)
+endif
 
 ../html.xsl:
 	sh ../gen-html.xsl.sh $(CHUNK_XSL) > $@