Use gcj-compiled saxon9
authorDavid Bartley <dtbartle@csclub.uwaterloo.ca>
Sat, 10 Nov 2007 03:31:15 +0000 (22:31 -0500)
committerDavid Bartley <dtbartle@csclub.uwaterloo.ca>
Sat, 10 Nov 2007 03:31:15 +0000 (22:31 -0500)
common.mk.in

index 6c11ce4..b918b39 100644 (file)
@@ -25,13 +25,13 @@ endif
 
 XSLTARGS=g_date=`date -I` g_time=`date +%H:%M:%S` g_outdir="$(OUTDIR)" \
        g_datetime="`date --rfc-3339=seconds`" g_pwd="$$(pwd)" g_root="$(ROOT)"
-CLASSPATH = /users/www/saxon8/saxon8.jar
+SAXON = /users/www/saxon9/saxon9.bin
 
 $(OUTDIR)%.html: %.xml $(ROOT)/csc.dtd $(ROOT)/xsl/*.xsl directory.xml $(ROOT)/menu.xml
-       java -classpath $(CLASSPATH) net.sf.saxon.Transform -o $@ $< $(ROOT)/xsl/html.xsl $(XSLTARGS)
+       $(SAXON) -o $@ $< $(ROOT)/xsl/html.xsl $(XSLTARGS)
 
 $(OUTDIR)%.atom: %.xml xsl/atom.xsl
-       java -classpath $(CLASSPATH) net.sf.saxon.Transform -o $@  $< $(ROOT)/xsl/atom.xsl $(XSLTARGS)
+       $(SAXON) -o $@  $< $(ROOT)/xsl/atom.xsl $(XSLTARGS)
 
 $(OUTDIR)%.ics: %.xml
        perl scripts/xml2ics.pl $< > $@