# JARS="..\diffmk;..\diffmk\diffmk.jar;..\diffmk\DiffMk.properties;..\diffmk\resolver.jar"
JARS="../diffmk:../diffmk/diffmk.jar:../diffmk/DiffMk.properties:../diffmk/resolver.jar"
DIFFMK=com.sun.xtc.diffmk.DiffMk
BIBL=$(wildcard ../bibl/*.xml)
TOOLS=../tools
BIBSORT=$(TOOLS)/bibsort.xsl
FIXSTYLE=$(TOOLS)/fix-style.xsl
XMLSPEC=$(TOOLS)/xmlspec.xsl

all: derived-keys.html

# Add --param show.ednote 0 when producing an "official" version.

derived-keys.html: derived-keys.xml $(FIXSTYLE) $(XMLSPEC) $(BIBSORT) $(BIBL)
	rm -f Derived-keys.html
	xsltproc --xinclude $(BIBSORT) derived-keys.xml | \
	xsltproc --nonet $(XMLSPEC) - | \
		xsltproc --nonet $(FIXSTYLE) - \
		 > derived-keys.html
	-tidy -utf8 -asxhtml -i -m derived-keys.html
	-chmod -w derived-keys.html

