diff options
author | Erich Eckner <git@eckner.net> | 2020-09-30 14:10:04 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-09-30 14:10:04 +0200 |
commit | 441470fd52525e0fbf6ce84f20fa162935fb8fb7 (patch) | |
tree | 27fd3489dd3f396d2c4ba50ff316975855faee0c /Wenn_das_Brot_das_wir_teilen/Makefile | |
parent | c0cb5947e62364a82217c5a80e17a4c2876d0935 (diff) | |
download | Musik-441470fd52525e0fbf6ce84f20fa162935fb8fb7.tar.xz |
Wenn_das_Brot_das_wir_teilen neu
Diffstat (limited to 'Wenn_das_Brot_das_wir_teilen/Makefile')
-rw-r--r-- | Wenn_das_Brot_das_wir_teilen/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Wenn_das_Brot_das_wir_teilen/Makefile b/Wenn_das_Brot_das_wir_teilen/Makefile new file mode 100644 index 0000000..fb92f9c --- /dev/null +++ b/Wenn_das_Brot_das_wir_teilen/Makefile @@ -0,0 +1,25 @@ +CURDOC=$(shell basename "$(CURDIR)") + +EXTRAS=$(shell ../.meta/find-extras) + +all: $(CURDOC)$(EXTRAS).pdf $(CURDOC)$(EXTRAS)-tolino.pdf + +clean: + rm -f *.pre *.post + +Clean: clean + rm -f *.pdf *.midi + +include ../.meta/*.mk + +%.pre: %.ly + cat "$<" > "$@" + +%.post: %.pre $(patsubst %.ly,%.pre, $(shell find . -name '*.ly')) ../.meta/header.ly + cat ../.meta/header.ly "$<" \ + |m4 \ + >"$@" + +%.pdf: %.post + lilypond $< + pkill -SIGHUP -xf "mupdf(-x11)? $@" || true |