summaryrefslogtreecommitdiff
path: root/Wenn_nicht_ich_fuer_mich_bin/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-24 11:10:25 +0100
committerErich Eckner <git@eckner.net>2020-01-24 11:10:25 +0100
commit59d3125899283387748bc1867ab5fe2b977330fc (patch)
treec91ab3168d3c8e1180daccfbf89d2641a4a6741f /Wenn_nicht_ich_fuer_mich_bin/Makefile
parent543db75194340c3a5f1e12fde4d32c8c464f4265 (diff)
downloadMusik-59d3125899283387748bc1867ab5fe2b977330fc.tar.xz
Wenn_nicht_ich_fuer_mich_bin neu
Diffstat (limited to 'Wenn_nicht_ich_fuer_mich_bin/Makefile')
-rw-r--r--Wenn_nicht_ich_fuer_mich_bin/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/Wenn_nicht_ich_fuer_mich_bin/Makefile b/Wenn_nicht_ich_fuer_mich_bin/Makefile
new file mode 100644
index 0000000..cb66cc7
--- /dev/null
+++ b/Wenn_nicht_ich_fuer_mich_bin/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