summaryrefslogtreecommitdiff
path: root/Wer_bis_an_das_Ende_beharrt
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-11-20 07:42:49 +0100
committerErich Eckner <git@eckner.net>2016-11-20 23:13:42 +0100
commitcdcdd17b6fa0197d299a61e3ec01048f29e84fb8 (patch)
treec080266347070e307cd299492da73cafbb8a4434 /Wer_bis_an_das_Ende_beharrt
parent370c1267f32b1ce92701395154f5112136acb52f (diff)
downloadMusik-cdcdd17b6fa0197d299a61e3ec01048f29e84fb8.tar.xz
Wer_bis_an_das_Ende_beharrt: Makefile neu
Diffstat (limited to 'Wer_bis_an_das_Ende_beharrt')
-rw-r--r--Wer_bis_an_das_Ende_beharrt/Makefile23
-rw-r--r--Wer_bis_an_das_Ende_beharrt/Wer_bis_an_das_Ende_beharrt.ly3
2 files changed, 24 insertions, 2 deletions
diff --git a/Wer_bis_an_das_Ende_beharrt/Makefile b/Wer_bis_an_das_Ende_beharrt/Makefile
new file mode 100644
index 0000000..ef6dedf
--- /dev/null
+++ b/Wer_bis_an_das_Ende_beharrt/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/Wer_bis_an_das_Ende_beharrt/Wer_bis_an_das_Ende_beharrt.ly b/Wer_bis_an_das_Ende_beharrt/Wer_bis_an_das_Ende_beharrt.ly
index dc7a50c..8190f70 100644
--- a/Wer_bis_an_das_Ende_beharrt/Wer_bis_an_das_Ende_beharrt.ly
+++ b/Wer_bis_an_das_Ende_beharrt/Wer_bis_an_das_Ende_beharrt.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