summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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