The lytex file now gets assembled with the help of a python script. because I can!

This commit is contained in:
Sebastian Hugentobler 2013-08-12 20:14:29 +02:00
parent f2f8b493b9
commit ffe0102369
26 changed files with 126 additions and 156 deletions

View file

@ -1,6 +1,6 @@
OUTDIR=out
PDFDIR=pdf
FILE = music_booklet
FILE = singalongs
GITINFO=revision.tex
LILY_PDF = lilypond-book --process="lilypond -dinclude-settings=lilysettings.ly" --pdf -o $(OUTDIR)
PDF=cd $(OUTDIR) && pdflatex --enable-pipes --shell-escape $(FILE).tex
@ -17,13 +17,14 @@ VPATH = \
all: book booklet
book: $(OUTDIR) $(PDFDIR) $(GITINFO)
python assemble.py > $(OUTDIR)/$(FILE).lytex
cp lilysettings.ly $(OUTDIR)/
cp headfoot.tex $(OUTDIR)/
cp settings.tex $(OUTDIR)/
cp -r license/ $(OUTDIR)/
cp -r images/ $(OUTDIR)/
cp $(GITINFO) $(OUTDIR)/
$(LILY_PDF) $(FILE).lytex
$(LILY_PDF) $(OUTDIR)/$(FILE).lytex
$(PDF)
$(INDEX)
$(PDF)