radiomanifest-spec/radio-manifest/Makefile

15 lines
309 B
Makefile
Raw Permalink Normal View History

2022-01-20 22:24:33 +01:00
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