summaryrefslogtreecommitdiff
path: root/Verleih_uns_Frieden
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-26 08:52:13 +0200
committerErich Eckner <git@eckner.net>2018-10-26 08:52:13 +0200
commit08c94aa389764c083ce42127548d1c3d52bc00c8 (patch)
treecb84d7032c9f87c7a7e4f3d114dae2832d521593 /Verleih_uns_Frieden
parentcb26cbc0f62cbaa4c8f6186784eee3ce330b4f0a (diff)
downloadMusik-08c94aa389764c083ce42127548d1c3d52bc00c8.tar.xz
Verleih_uns_Frieden: Makefile new
Diffstat (limited to 'Verleih_uns_Frieden')
-rw-r--r--Verleih_uns_Frieden/Makefile31
-rw-r--r--Verleih_uns_Frieden/Verleih_uns_Frieden.ly23
2 files changed, 46 insertions, 8 deletions
diff --git a/Verleih_uns_Frieden/Makefile b/Verleih_uns_Frieden/Makefile
new file mode 100644
index 0000000..5b3af49
--- /dev/null
+++ b/Verleih_uns_Frieden/Makefile
@@ -0,0 +1,31 @@
+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
+
+ifeq ($(MIDI),1)
+ MIDI_REGEX=
+else
+ MIDI_REGEX=/\\\\midi/{ :a; s/\\\\midi[^{}]*{/\\\\midi/; tb; N; ba; :b; s/{[^{}]*}//; tb; s/\\\\midi[^{}]*}//; t; N; bb; }
+endif
+
+all: $(CURDOC).pdf
+
+clean:
+ rm -f *.pre
+
+Clean: clean
+ rm -f *.pdf *.midi
+
+%.pre: %.ly
+ sed " \
+ s@%spezifisch%@$(SPEZIFISCH)@ ; \
+ $(MIDI_REGEX) \
+ " "$<" > "$@"
+
+%.pdf: %.pre *.ly
+ lilypond $<
diff --git a/Verleih_uns_Frieden/Verleih_uns_Frieden.ly b/Verleih_uns_Frieden/Verleih_uns_Frieden.ly
index e433d11..ae03691 100644
--- a/Verleih_uns_Frieden/Verleih_uns_Frieden.ly
+++ b/Verleih_uns_Frieden/Verleih_uns_Frieden.ly
@@ -1,21 +1,28 @@
\include "deutsch.ly"
+#(ly:set-option 'relative-includes #t)
\include "stimmen.ly"
\include "texte.ly"
+#(ly:set-option 'relative-includes #f)
-\pointAndClickOff
+%spezifisch%
-#(set! paper-alist (cons '("kindle" . (cons (* 210 mm) (* 130 mm))) paper-alist))
-#(set-default-paper-size "kindle")
+\pointAndClickOff
\header {
- title = "Verleih uns Frieden"
- subtitle = "Choralkantate"
- composer = "Felix Mendelssohn Bartholdy (1809-1847)"
- poet = "Gebet nach Worten von Luther"
- tagline = ##f
+ tagline = ""
+}
+\paper {
+ top-margin = 5
+ print-all-headers = ##t
}
\score {
+ \header {
+ title = "Verleih uns Frieden"
+ subtitle = "Choralkantate"
+ composer = "Felix Mendelssohn Bartholdy (1809-1847)"
+ poet = "Gebet nach Worten von Luther"
+ }
\new ChoirStaff <<
\set Score.skipBars = ##t
\new Lyrics = "sopranText" {}