From fb30a47d6dba95e2269b63bec07a3709cf6e033c Mon Sep 17 00:00:00 2001 From: Alexandre Dupas Date: Thu, 13 Aug 2009 19:48:49 +0200 Subject: [PATCH] Final import of lilypond into the songbook. --- crepbook.cls | 2 +- makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crepbook.cls b/crepbook.cls index 3295dd91..7bd3baa7 100644 --- a/crepbook.cls +++ b/crepbook.cls @@ -154,7 +154,7 @@ \newcommand{\lilypond}[1]{% \iflilypond% - \includegraphics{#1} + \IfFileExists{./lilypond/#1.pdf}{\includegraphics{./lilypond/#1}}{}% \fi% } diff --git a/makefile b/makefile index e813aeda..88369d2b 100644 --- a/makefile +++ b/makefile @@ -43,7 +43,7 @@ LILYPOND=$(ECHO) "** lilypond not found" >&2 ; $(ECHO) lilypond LILYFILE='' else LILYPOND=lilypond -LILYSRC=$(wildcard songs/*/*.ly) +LILYSRC=$(wildcard lilypond/*.ly) LILYFILE=$(LILYSRC:%.ly=%.pdf) endif