CHAPTERS=$(shell ./list-chapters.sh) CHAPTERS_XML=$(CHAPTERS:.html=.xml) all: book-list elberfelder2006.zip chapters/%.xml: chapters/%.html convert.sed convert.xsl ./convert.sed $< | xsltproc --encoding utf-8 --html convert.xsl - > $@ elberfelder2006.xml: $(CHAPTERS_XML) ./concat.sh > $@ xmllint --noout --schema zef2005.xsd $@ %.zip: %.xml zip $@ $< clean: rm -f $(CHAPTERS_XML) rm -f elberfelder2006.{xml,zip}