radiomanifest-spec/radio-manifest/Makefile
2022-01-20 22:24:33 +01:00

14 行
309 B
Makefile

VALID = examples/*.xml
NONVALID = failing/*.xml
SCHEMA = ../radio-manifest.xsd
all: test
test: $(VALID) $(NONVALID)
examples/%.xml: $(SCHEMA)
xmllint --schema $(SCHEMA) --noout $@
failing/%.xml: $(SCHEMA)
if xmllint --schema $(SCHEMA) --noout $@ 2> /dev/null; then false; else true; fi
.PHONY: all test