diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2015-08-11 01:11:09 -0700 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2015-08-11 01:11:09 -0700 |
| commit | 0107d0321e81f5164c9e8550ab86949c3e734e0c (patch) | |
| tree | 3ab7f1edadefaf69a555cf3613367c5f196adf47 /Makefile | |
| parent | a78f1399b655b7fb6eba74f22186e46cdfabdb70 (diff) | |
| download | wedding-booklet-0107d0321e81f5164c9e8550ab86949c3e734e0c.tar.gz | |
End of ordinarium parts from Missa Pro Europa
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..aca5a38 --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +SOURCES=$(wildcard *.ly) +PARTS=$(SOURCES:.ly=.pdf) +TDIR=out + +book: book.pdf + +parts: $(PARTS) + +%.pdf: %.ly + lilypond --pdf $< + +$(TDIR)/book.tex: book.lytex *.ly + lilypond-book --output=$(TDIR) --pdf $< + +%.pdf: %.tex + cd $(@D); pdflatex $(<F) + +book.pdf: $(TDIR)/book.pdf + cp $< $@ + +clean: + rm -rf *.pdf out |
