From 801ee666d8c617948d7b00b2c0027ac08f82a195 Mon Sep 17 00:00:00 2001 From: Alexandre Dupas Date: Sat, 9 May 2009 16:47:10 +0200 Subject: [PATCH] Add all songs/*/ directories to the graphics path. --- makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/makefile b/makefile index d7bbcbdb..df23e1ed 100644 --- a/makefile +++ b/makefile @@ -114,7 +114,7 @@ include $(SOURCES:%.tex=%.d) # that is not all but no other rules are easy to move around %.aux: $(SONGS) +COMMA=, $(SONGS): $(SONGS_SRC) - @cat $(SONGS_SRC) > $@ - - + @$(PRINT) "\graphicspath{{img/},$(patsubst %,{%}$(COMMA),$(dir $(SONGS_SRC)))}" > $@ + @cat $(SONGS_SRC) >> $@