Skip to content
Snippets Groups Projects
Commit dce8a82d authored by David Maus's avatar David Maus
Browse files

Makefile

parent e7cb8d49
No related branches found
No related tags found
No related merge requests found
Makefile 0 → 100644
TRANG := trang.cmd
JING := jing.cmd
SAXON := transform.cmd
XSPEC := xspec.cmd
COPY := cp
RM := rm -f
%.rng: %.rnc
$(TRANG) -I rnc -O rng $< $@
%.sch: %.rng
$(SAXON) -xsl:src/xslt/extract-schematron.xsl -o:$@ $<
test/schema/%.rnc: src/schema/%.rnc
$(COPY) $< $@
.PHONY: test
test: copy-schema test/schema/common.sch test/schema/common.xspec test/schema/vocab.sch test/schema/vocab.xspec
$(XSPEC) -s test/schema/common.xspec
$(XSPEC) -s test/schema/vocab.xspec
.PHONY: clean
clean:
$(RM) test/schema/*.rnc
$(RM) test/schema/*.rng
$(RM) test/schema/*.sch
copy-schema: test/schema/common.rnc test/schema/vocab.rnc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment