diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -1,10 +1,13 @@ ELBERFELDER_CHAPTERS=$(wildcard elberfelder-bibel/chapters/*/*.html) ELBERFELDER_CHAPTERS_XML=$(ELBERFELDER_CHAPTERS:.html=.xml) +LUTHER_CHAPTERS=$(wildcard luther-bibel-1984/chapters/*/*.html) +LUTHER_CHAPTERS_XML=$(LUTHER_CHAPTERS:.html=.xml) + MENGE_CHAPTERS=$(wildcard menge-bibel/chapters/*/*.html) MENGE_CHAPTERS_XML=$(MENGE_CHAPTERS:.html=.xml) -all: elberfelder2006.zip menge.zip +all: elberfelder2006.zip menge.zip luther-1984.zip %.xml: %.html convert.sed convert.xsl ./convert.sed "$<" | xsltproc --encoding utf-8 --html convert.xsl - > "$@" @@ -13,6 +16,10 @@ elberfelder2006.xml: $(ELBERFELDER_CHAPTERS_XML) ./concat.sh elberfelder-bibel "Elberfelder 2006" > $@ xmllint --noout --schema zef2005.xsd $@ +luther-1984.xml: $(LUTHER_CHAPTERS_XML) + ./concat.sh luther-bibel-1984 "Luther Bibel 1984" > $@ + xmllint --noout --schema zef2005.xsd $@ || (mv $@ $@.fail; exit 1) + menge.xml: $(MENGE_CHAPTERS_XML) ./concat.sh menge-bibel "Menge-Bibel2" > $@ xmllint --noout --schema zef2005.xsd $@ || (mv $@ $@.fail; exit 1) @@ -21,5 +28,5 @@ menge.xml: $(MENGE_CHAPTERS_XML) zip $@ $< clean: - rm -f $(ELBERFELDER_CHAPTERS_XML) $(MENGE_CHAPTERS_XML) + rm -f $(ELBERFELDER_CHAPTERS_XML) $(LUTHER_CHAPTERS_XML) $(MENGE_CHAPTERS_XML) rm -f elberfelder2006.{xml,zip} menge.{xml,zip} |