update makefile targets

This commit is contained in:
Sebastian Hugentobler 2015-12-01 12:27:28 +01:00
parent 7576756cb3
commit 8750fb8013

View File

@ -26,7 +26,7 @@ SCORESDIR = $(SRCDIR)/scores
LYRICSDIR = $(SRCDIR)/lyrics
OUTPUTFILE = $(OUTDIR)/singalongs.tex
TEXFILES = $(wildcard $(SRCDIR)/*.tex)
SCORES = $(wildcard $(SCORESDIR)/*.ly)
LYRICS = $(wildcard $(LYRICSDIR)/*.tex)
PDFS = $(patsubst %.ly,$(PDFDIR)/%.pdf,$(notdir $(SCORES)))
@ -52,8 +52,8 @@ book: $(BOOKPDF)
booklet: $(BOOKLETPDF)
$(BOOKPDF): | $(PDFDIR) $(OUTDIR)
@$(CP) $(SRCDIR)/*.tex $(OUTDIR)/
$(BOOKPDF): $(TEXFILES) $(SCORES) $(LYRICS) | $(PDFDIR) $(OUTDIR)
@$(CP) $(TEXFILES) $(OUTDIR)/
@$(CP) -r lib/* $(OUTDIR)/
@$(CP) -r $(SRCDIR)/images $(OUTDIR)/images