diff options
Diffstat (limited to 'Wie_schoen_blueht_uns_der_Maien/Makefile')
-rw-r--r-- | Wie_schoen_blueht_uns_der_Maien/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Wie_schoen_blueht_uns_der_Maien/Makefile b/Wie_schoen_blueht_uns_der_Maien/Makefile new file mode 100644 index 0000000..cb66cc7 --- /dev/null +++ b/Wie_schoen_blueht_uns_der_Maien/Makefile @@ -0,0 +1,22 @@ +CURDOC=$(shell basename "$(CURDIR)") + +all: $(CURDOC).pdf + pkill -SIGHUP -xf 'mupdf(-x11)? (.*/)?$<' || true + +clean: + rm -f *.pre + +Clean: clean + rm -f *.pdf *.midi + +include ../.meta/*.mk + +%.pre: %.ly + cat "$<" > "$@" + +%.post: %.pre $(patsubst %.ly,%.pre, $(shell ls *.ly)) + m4 <"$<" >"$@" + +%.pdf: %.post + lilypond $< + pkill -SIGHUP -xf "mupdf $@" || true |