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