|
@ -22,8 +22,8 @@ LIBRARY=./ |
|
|
|
|
|
|
|
|
PDF = $(TARGETS:%=%.pdf) |
|
|
PDF = $(TARGETS:%=%.pdf) |
|
|
|
|
|
|
|
|
CHORDS = chords.tex |
|
|
#CHORDS = chords.tex
|
|
|
CHORDS_SRC = $(shell ls songs/*/*.sg) |
|
|
#CHORDS_SRC = $(shell ls $(LIBRARY)/songs/*/*.sg)
|
|
|
|
|
|
|
|
|
DATE = $(shell date +%d)-$(shell date +%m)-$(shell date +%Y) |
|
|
DATE = $(shell date +%d)-$(shell date +%m)-$(shell date +%Y) |
|
|
|
|
|
|
|
@ -90,8 +90,8 @@ $(PDF): %.pdf: %.tex %.aux |
|
|
%.pdf: %.ly |
|
|
%.pdf: %.ly |
|
|
@$(LILYPOND) --format=pdf -e '(define-public songbookstaff "$(SONGBOOKSTAFF)")' --output=$(@:%.pdf=%) $< |
|
|
@$(LILYPOND) --format=pdf -e '(define-public songbookstaff "$(SONGBOOKSTAFF)")' --output=$(@:%.pdf=%) $< |
|
|
|
|
|
|
|
|
$(CHORDS): $(CHORDS_SRC) |
|
|
#$(CHORDS): $(CHORDS_SRC)
|
|
|
$(MAKE_CHORDS) -o $@ |
|
|
# $(MAKE_CHORDS) -o $@
|
|
|
|
|
|
|
|
|
archive: cleanall |
|
|
archive: cleanall |
|
|
tar -czvf songbook.tar.gz \
|
|
|
tar -czvf songbook.tar.gz \
|
|
|