summaryrefslogtreecommitdiff
path: root/Macht_hoch_die_Tuer_
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-11-19 09:31:07 +0100
committerErich Eckner <git@eckner.net>2016-11-20 23:13:41 +0100
commit93f8d407c089ef53fe0f55b868342631cdee6ab1 (patch)
tree2e119d6be3bdb4ef6aec63f5969d29d239aecda9 /Macht_hoch_die_Tuer_
parentff1ee10c1d9d5037bb3b23a11a0e8a52f11294cf (diff)
downloadMusik-93f8d407c089ef53fe0f55b868342631cdee6ab1.tar.xz
Macht_hoch_die_Tuer_: Makefile
Diffstat (limited to 'Macht_hoch_die_Tuer_')
-rw-r--r--Macht_hoch_die_Tuer_/Macht_hoch_die_Tuer_.ly3
-rw-r--r--Macht_hoch_die_Tuer_/Makefile23
2 files changed, 24 insertions, 2 deletions
diff --git a/Macht_hoch_die_Tuer_/Macht_hoch_die_Tuer_.ly b/Macht_hoch_die_Tuer_/Macht_hoch_die_Tuer_.ly
index 1c43fd2..03494a6 100644
--- a/Macht_hoch_die_Tuer_/Macht_hoch_die_Tuer_.ly
+++ b/Macht_hoch_die_Tuer_/Macht_hoch_die_Tuer_.ly
@@ -2,8 +2,7 @@
\include "stimmen.ly"
\include "texte.ly"
-#(set! paper-alist (cons '("kindle" . (cons (* 210 mm) (* 130 mm))) paper-alist))
-#(set-default-paper-size "kindle")
+%spezifisch%
\pointAndClickOff
diff --git a/Macht_hoch_die_Tuer_/Makefile b/Macht_hoch_die_Tuer_/Makefile
new file mode 100644
index 0000000..ef6dedf
--- /dev/null
+++ b/Macht_hoch_die_Tuer_/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 $<
+