radiomanifest-spec/shows/Makefile

15 lines
300 B
Makefile
Raw Normal View History

2022-01-20 22:24:33 +01:00
VALID = examples/*.xml
NONVALID = failing/*.xml
SCHEMA = ../shows.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