diff options
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | list-chapters.sh | 12 |
2 files changed, 1 insertions, 13 deletions
@@ -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 |