summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-10-23 12:03:21 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-10-23 12:50:50 +0200
commit79538ec002f56d436bcbdda3b3e12c1b52c98cf4 (patch)
tree43583f506c6d7252248fc270b7442f48f010a6e0
parent3ba6de61065e94c31f3ad37533478d9bfd024f0c (diff)
downloadbible-fetch-79538ec002f56d436bcbdda3b3e12c1b52c98cf4.tar.gz
bible-fetch-79538ec002f56d436bcbdda3b3e12c1b52c98cf4.tar.bz2
bible-fetch-79538ec002f56d436bcbdda3b3e12c1b52c98cf4.zip
Makefile: Add rules for luther bible
-rw-r--r--Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1f8da01..5b01c7a 100644
--- a/Makefile
+++ b/Makefile
@@ -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}