From a084ae65f80c9044f9fbc042df2f067276179216 Mon Sep 17 00:00:00 2001 From: Alexandre Dupas Date: Tue, 8 Dec 2009 00:32:59 +0100 Subject: [PATCH] Add makefile rule to produce a chords.tex file using the script. The following command produces the chords summary file: $ make chords.pdf --- makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/makefile b/makefile index 4acf8f1f..299b79dc 100644 --- a/makefile +++ b/makefile @@ -27,8 +27,12 @@ PSF = $(CIBLE:%=%.ps.gz) SONGS = songs.sbd SONGS_SRC = $(shell ls songs/*/*.sg) +CHORDS = chords.tex +CHORDS_SRC = $(shell ls songs/*/*.sg) + MAKE_INDEX=./songbook-makeindex.py MAKE_SONGDB=./songbook-volume.py +MAKE_CHORDS=./utils/songbook-chords.py PRINT=printf "%s\n" PRINTTAB=printf "\t%s\n" @@ -145,3 +149,5 @@ $(SONGS): $(SONGS_SRC) @$(LILYPOND) --output=$(@:%.pdf=%) $< @rm $(@:%.pdf=%.ps) +$(CHORDS): $(CHORDS_SRC) + $(MAKE_CHORDS) -o $@