15 lines
333 B
Makefile
15 lines
333 B
Makefile
|
all: index.html spec.html radiomanifest.zip
|
||
|
testXMLs := $(shell find shows radio-manifest -type f -name '*.xml')
|
||
|
|
||
|
%.html: %.asciidoc
|
||
|
asciidoctor -b html5 $<
|
||
|
|
||
|
radiomanifest.zip: radio-manifest.xsd shows.xsd radio-manifest/Makefile shows/Makefile $(testXMLs)
|
||
|
zip -r $@ $^
|
||
|
|
||
|
test:
|
||
|
make -C shows/
|
||
|
make -C radio-manifest/
|
||
|
|
||
|
.PHONY: all
|