diff options
author | Erich Eckner <git@eckner.net> | 2020-09-05 22:21:48 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-09-05 22:21:48 +0200 |
commit | b8064179e63978e12cb5ead35c8b5fef2b3ebcea (patch) | |
tree | 8bf0cb41f3d3c14bb5a1e190ac5d7974e9ead3b4 /Weihnachts_Wiegenlied/Makefile | |
parent | 548a22202c1333626041946c0fe4cc6f563e52e8 (diff) | |
download | Musik-b8064179e63978e12cb5ead35c8b5fef2b3ebcea.tar.xz |
Weihnachts_Wiegenlied neu
Diffstat (limited to 'Weihnachts_Wiegenlied/Makefile')
-rw-r--r-- | Weihnachts_Wiegenlied/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Weihnachts_Wiegenlied/Makefile b/Weihnachts_Wiegenlied/Makefile new file mode 100644 index 0000000..fb92f9c --- /dev/null +++ b/Weihnachts_Wiegenlied/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 |