summaryrefslogtreecommitdiff
path: root/Ich_bin_die_Auferstehung
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-11-20 07:49:04 +0100
committerErich Eckner <git@eckner.net>2016-11-20 23:13:42 +0100
commitc1de4e2f72f5f7c2b77300629cee79366d67cf07 (patch)
treea0bc6d259f8eda1fe1777efd257bfdc60742c0ef /Ich_bin_die_Auferstehung
parentcdcdd17b6fa0197d299a61e3ec01048f29e84fb8 (diff)
downloadMusik-c1de4e2f72f5f7c2b77300629cee79366d67cf07.tar.xz
Ich_bin_die_Auferstehung: Makefile neu
Diffstat (limited to 'Ich_bin_die_Auferstehung')
-rw-r--r--Ich_bin_die_Auferstehung/Ich_bin_die_Auferstehung.ly3
-rw-r--r--Ich_bin_die_Auferstehung/Makefile23
2 files changed, 24 insertions, 2 deletions
diff --git a/Ich_bin_die_Auferstehung/Ich_bin_die_Auferstehung.ly b/Ich_bin_die_Auferstehung/Ich_bin_die_Auferstehung.ly
index 549716c..a3c3104 100644
--- a/Ich_bin_die_Auferstehung/Ich_bin_die_Auferstehung.ly
+++ b/Ich_bin_die_Auferstehung/Ich_bin_die_Auferstehung.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/Ich_bin_die_Auferstehung/Makefile b/Ich_bin_die_Auferstehung/Makefile
new file mode 100644
index 0000000..ef6dedf
--- /dev/null
+++ b/Ich_bin_die_Auferstehung/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 $<
+