summaryrefslogtreecommitdiff
path: root/Troestet_mein_Volk
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
parent0218d8340dcbffd2e1c6a2b8f90faa93f16724c2 (diff)
downloadMusik-88e40cf31829f1c586f9bcf1f027a9068839e33e.tar.xz
Troestet_mein_Volk: Makefile neu
Diffstat (limited to 'Troestet_mein_Volk')
-rw-r--r--Troestet_mein_Volk/Makefile23
-rw-r--r--Troestet_mein_Volk/Troestet_mein_Volk.ly3
2 files changed, 24 insertions, 2 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 $<
+
diff --git a/Troestet_mein_Volk/Troestet_mein_Volk.ly b/Troestet_mein_Volk/Troestet_mein_Volk.ly
index 0f35dd6..928ee2c 100644
--- a/Troestet_mein_Volk/Troestet_mein_Volk.ly
+++ b/Troestet_mein_Volk/Troestet_mein_Volk.ly
@@ -3,8 +3,7 @@
\include "texte.ly"
\include "artikulation.ly"
-#(set! paper-alist (cons '("kindle" . (cons (* 210 mm) (* 130 mm))) paper-alist))
-#(set-default-paper-size "kindle")
+%spezifisch%
\header {
tagline = ""