From e0ab0ee0d309c172d425e6d91706614c2d3bb1b7 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Mon, 2 Jul 2012 16:35:38 +0200 Subject: Remove list-chapters.sh Use a wildcard instead for now. --- Makefile | 2 +- list-chapters.sh | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) delete mode 100755 list-chapters.sh 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 -- cgit