Add menu.xml as a build dependency for building html files from xslt files

news-update
David Bartley 16 years ago
parent 79fed8f9d4
commit 9f2fdce6fc
  1. 2
      common.mk.in

@ -27,7 +27,7 @@ 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
$(OUTDIR)%.html: %.xml $(ROOT)/csc.dtd $(ROOT)/xsl/*.xsl directory.xml
$(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)
$(OUTDIR)%.atom: %.xml xsl/atom.xsl

Loading…
Cancel
Save