update makefile targets
This commit is contained in:
parent
7576756cb3
commit
8750fb8013
6
Makefile
6
Makefile
@ -26,7 +26,7 @@ SCORESDIR = $(SRCDIR)/scores
|
|||||||
LYRICSDIR = $(SRCDIR)/lyrics
|
LYRICSDIR = $(SRCDIR)/lyrics
|
||||||
|
|
||||||
OUTPUTFILE = $(OUTDIR)/singalongs.tex
|
OUTPUTFILE = $(OUTDIR)/singalongs.tex
|
||||||
|
TEXFILES = $(wildcard $(SRCDIR)/*.tex)
|
||||||
SCORES = $(wildcard $(SCORESDIR)/*.ly)
|
SCORES = $(wildcard $(SCORESDIR)/*.ly)
|
||||||
LYRICS = $(wildcard $(LYRICSDIR)/*.tex)
|
LYRICS = $(wildcard $(LYRICSDIR)/*.tex)
|
||||||
PDFS = $(patsubst %.ly,$(PDFDIR)/%.pdf,$(notdir $(SCORES)))
|
PDFS = $(patsubst %.ly,$(PDFDIR)/%.pdf,$(notdir $(SCORES)))
|
||||||
@ -52,8 +52,8 @@ book: $(BOOKPDF)
|
|||||||
|
|
||||||
booklet: $(BOOKLETPDF)
|
booklet: $(BOOKLETPDF)
|
||||||
|
|
||||||
$(BOOKPDF): | $(PDFDIR) $(OUTDIR)
|
$(BOOKPDF): $(TEXFILES) $(SCORES) $(LYRICS) | $(PDFDIR) $(OUTDIR)
|
||||||
@$(CP) $(SRCDIR)/*.tex $(OUTDIR)/
|
@$(CP) $(TEXFILES) $(OUTDIR)/
|
||||||
@$(CP) -r lib/* $(OUTDIR)/
|
@$(CP) -r lib/* $(OUTDIR)/
|
||||||
@$(CP) -r $(SRCDIR)/images $(OUTDIR)/images
|
@$(CP) -r $(SRCDIR)/images $(OUTDIR)/images
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user