summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-07-02 16:35:38 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-07-02 16:35:38 +0200
commite0ab0ee0d309c172d425e6d91706614c2d3bb1b7 (patch)
tree8dfe38baab338f6e70c4c035314028c85bad096e
parent7b9ff5843a6addd3139efe4bfe958fd332823fde (diff)
downloadbible-fetch-e0ab0ee0d309c172d425e6d91706614c2d3bb1b7.tar.gz
bible-fetch-e0ab0ee0d309c172d425e6d91706614c2d3bb1b7.tar.bz2
bible-fetch-e0ab0ee0d309c172d425e6d91706614c2d3bb1b7.zip
Remove list-chapters.sh
Use a wildcard instead for now.
-rw-r--r--Makefile2
-rwxr-xr-xlist-chapters.sh12
2 files changed, 1 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index df76e78..b7e5d6b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CHAPTERS=$(shell ./list-chapters.sh)
+CHAPTERS=$(wildcard chapters/*/*.html)
CHAPTERS_XML=$(CHAPTERS:.html=.xml)
all: book-list elberfelder2006.zip
diff --git a/list-chapters.sh b/list-chapters.sh
deleted file mode 100755
index f09ce7f..0000000
--- a/list-chapters.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-cat book-list | while read buch
-do
- i=1
- buchdir=$(echo "$buch" | sed "s/ /_/g")
- while [ -e "chapters/$buchdir/$i.html" ]
- do
- echo "chapters/$buchdir/$i.html"
- i=$((i+1))
- done
-done