From f5fb369bbd175b5621f49e31a0f4c5ca8475e387 Mon Sep 17 00:00:00 2001 From: Alexandre Dupas Date: Sun, 25 Apr 2010 16:12:13 +0200 Subject: [PATCH] Correct the compilation problem. --- makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/makefile b/makefile index eb8c8721..1de319f5 100644 --- a/makefile +++ b/makefile @@ -134,7 +134,6 @@ $(PDF): %.pdf: %.tex %.aux include $(SOURCES:%.tex=%.d) # songbook related rules -# that is not all but no other rules are easy to move around %.aux: $(SONGS) COMMA=, @@ -142,9 +141,6 @@ $(SONGS): $(SONGS_SRC) @$(PRINT) "\graphicspath{{img/},$(patsubst %,{%}$(COMMA),$(dir $(SONGS_SRC)))}" > $@ @cat $(SONGS_SRC) >> $@ -mybook.sbd: - touch $@ - %.sbd: %.sgl @$(MAKE_SONGDB) --songs=$< --output=$@ @@ -154,3 +150,7 @@ mybook.sbd: $(CHORDS): $(CHORDS_SRC) $(MAKE_CHORDS) -o $@ + +# Create an empty mybook.sgl file if it does not exist +mybook.sgl: + touch $@