Makefile
TIDY=/usr/bin/tidy
PREV=/tmp
RELEASE=/tmp
SAXON=saxon
XINCLUDE=xmllint --xinclude
XJPARSE=xjparse
all: langspec.html pipeline-library.xml typed-pipeline-library.xml error-list.xml
langspec.html: ,langspec.xml typed-pipeline-library.xml \
../style/docbook.xsl ../style/dbspec.xsl \
../style/xprocns.xsl ../style/rngsyntax.xsl
$(XJPARSE) $<
$(SAXON) $< ../style/dbspec.xsl $@
$(TIDY) --doctype loose --output-xhtml true -q -utf8 -mn $@
pipeline-library.xml: ,langspec.xml
$(SAXON) $< ../style/pipeline-library.xsl $@
typed-pipeline-library.xml: ,langspec.xml
$(SAXON) $< ../style/typed-pipeline-library.xsl $@
$(MAKE) -C schemas
error-list.xml: ,langspec.xml
$(SAXON) $< ../style/error-list.xsl $@
,langspec.xml: langspec.xml parallel.xml \
schemas/xproc.rnc schemas/xproc.rng \
standard-components.xml references.xml glossary.xml \
error-vocabulary.xml conformance.xml namespace-fixup.xml \
language-summary.xml error-codes.xml
$(MAKE) -C examples
$(XINCLUDE) $< > $@
glossary.xml: langspec.xml ../style/makeglossary.xsl
$(SAXON) $< ../style/makeglossary.xsl $@
diff.html: $(PREV)/langspec.html langspec.html
java -jar /usr/local/DeltaXMLCore-5_1/command.jar compare xhtml $(PREV)/langspec.html langspec.html $@
ns-xproc.html: ns-xproc.xml ../style/docbook.xsl ../style/dbspec.xsl \
../style/xprocns.xsl \
../style/elemsyntax.xsl
$(XINCLUDE) $< > ,$<
$(XJPARSE) ,$<
$(SAXON) ,$< ../style/dbspec.xsl $@
$(TIDY) --doctype loose --output-xhtml true -q -utf8 -mn $@
ns-xproc-step.html: ns-xproc-step.xml ../style/docbook.xsl ../style/dbspec.xsl \
../style/xprocns.xsl \
../style/elemsyntax.xsl
$(XINCLUDE) $< > ,$<
$(XJPARSE) ,$<
$(SAXON) ,$< ../style/dbspec.xsl $@
$(TIDY) --doctype loose --output-xhtml true -q -utf8 -mn $@
ns-xproc-error.html: ns-xproc-error.xml ../style/docbook.xsl ../style/dbspec.xsl \
../style/xprocns.xsl \
../style/elemsyntax.xsl
$(XINCLUDE) $< > ,$<
$(XJPARSE) ,$<
$(SAXON) ,$< ../style/dbspec.xsl $@
$(TIDY) --doctype loose --output-xhtml true -q -utf8 -mn $@
clean:
rm -f langreq.html langreq.fo langreq.pdf
rm -f langspec.html langspec.fo langspec.pdf