summaryrefslogtreecommitdiff
path: root/Troestet_mein_Volk/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-11-20 19:15:03 +0100
committerErich Eckner <git@eckner.net>2016-11-20 23:13:42 +0100
commit88e40cf31829f1c586f9bcf1f027a9068839e33e (patch)
tree2e3b2ba2cd770799c0a8301fd26a47d334e92a24 /Troestet_mein_Volk/Makefile
parent0218d8340dcbffd2e1c6a2b8f90faa93f16724c2 (diff)
downloadMusik-88e40cf31829f1c586f9bcf1f027a9068839e33e.tar.xz
Troestet_mein_Volk: Makefile neu
Diffstat (limited to 'Troestet_mein_Volk/Makefile')
-rw-r--r--Troestet_mein_Volk/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Troestet_mein_Volk/Makefile b/Troestet_mein_Volk/Makefile
new file mode 100644
index 0000000..ef6dedf
--- /dev/null
+++ b/Troestet_mein_Volk/Makefile
@@ -0,0 +1,23 @@
+CURDOC=$(shell basename "$(CURDIR)")
+
+ifeq ($(FUER),ewe)
+ SPEZIFISCH=\#(set! paper-alist (cons '(\"kindle\" . (cons (* 210 mm) (* 130 mm))) paper-alist))\n\#(set-default-paper-size \"kindle\")
+else
+ SPEZIFISCH=
+ # \#(set-global-staff-size 14)
+endif
+
+all: $(CURDOC).pdf
+
+clean:
+ rm -f *.pre
+
+Clean: clean
+ rm -f *.pdf *.midi
+
+%.pre: %.ly
+ sed "s@%spezifisch%@$(SPEZIFISCH)@" "$<" > "$@"
+
+%.pdf: %.pre *.ly
+ lilypond $<
+