# $Id$
all: xml2html.xsl xml2latex.xsl
xml2html.xsl: format-master.xml xml2xslt.xsl Makefile
ifeq ($(XSLT),xalan-c)
	Xalan -p format "'html'" $< xml2xslt.xsl > $@
else
ifeq ($(XSLT),xalan-j)
	xalan -param format "'html'" $< xml2xslt.xsl > $@
else
	saxon $< xml2xslt.xsl format=html > $@
endif
endif
xml2latex.xsl: format-master.xml xml2xslt.xsl Makefile
ifeq ($(XSLT),xalan-c)
	Xalan -p format "'latex'" $< xml2xslt.xsl > $@
else
ifeq ($(XSLT),xalan-j)
	xalan -param format "'latex'" $< xml2xslt.xsl > $@
else
	saxon $< xml2xslt.xsl format=latex > $@
endif
endif