summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-01-03 11:17:01 +0100
committerErich Eckner <git@eckner.net>2019-01-03 11:17:01 +0100
commit437efc014b9957a90e431f6f3a308aec48f05bd9 (patch)
tree3fbe979b1f20a653f00de9dc09506f385407de47
parent29d5024e4151adf6793f12191c9e9064e9a52d4f (diff)
downloadMusik-437efc014b9957a90e431f6f3a308aec48f05bd9.tar.xz
Aller_Augen_warten_auf_dich_Herre: Makefile neu
-rw-r--r--Aller_Augen_warten_auf_dich_Herre/Aller_Augen_warten_auf_dich_Herre.ly55
-rw-r--r--Aller_Augen_warten_auf_dich_Herre/Makefile43
2 files changed, 78 insertions, 20 deletions
diff --git a/Aller_Augen_warten_auf_dich_Herre/Aller_Augen_warten_auf_dich_Herre.ly b/Aller_Augen_warten_auf_dich_Herre/Aller_Augen_warten_auf_dich_Herre.ly
index 1800b49..63d0c14 100644
--- a/Aller_Augen_warten_auf_dich_Herre/Aller_Augen_warten_auf_dich_Herre.ly
+++ b/Aller_Augen_warten_auf_dich_Herre/Aller_Augen_warten_auf_dich_Herre.ly
@@ -2,30 +2,45 @@
\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
\header {
- title = "Aller Augen warten auf dich, Herre"
- poet = "Text: Psalm 145,15-16"
- composer = "Satz: Heinrich Schütz 1657"
- tagline = ""
+ tagline = ##f
+}
+\paper {
+ top-margin = 5
+ print-all-headers = ##t
}
-\new ChoirStaff <<
- \set Score.skipBars = ##t
- \new ChordNames { \global \germanChords \akkorde }
- \new Staff <<
- \new Voice = pFrauen { \global \oneVoice \pausen }
- \new Voice = sopran { \global \voiceOne \sopranMelodie }
- \new Voice = alt { \global \voiceTwo \altMelodie }
- >>
- \new Lyrics \lyricsto alt { \text }
- \new Staff <<
- \new Voice = mFrauen { \global \clef "bass" \oneVoice \pausen }
- \new Voice = tenor { \global \clef "bass" \voiceOne \tenorMelodie }
- \new Voice = bass { \global \clef "bass" \voiceTwo \bassMelodie }
+\score {
+ \header {
+ title = "Aller Augen warten auf dich, Herre"
+ poet = "Text: Psalm 145,15-16"
+ composer = "Satz: Heinrich Schütz 1657"
+ }
+ \new ChoirStaff <<
+ \set Score.skipBars = ##t
+ \new ChordNames { \global \germanChords \akkorde }
+ \new Staff <<
+ \new Voice = pFrauen { \global \oneVoice \pausen }
+ \new Voice = sopran { \global \voiceOne \sopranMelodie }
+ \new Voice = alt { \global \voiceTwo \altMelodie }
+ >>
+ \new Lyrics \lyricsto alt { \text }
+ \new Staff <<
+ \new Voice = mFrauen { \global \clef "bass" \oneVoice \pausen }
+ \new Voice = tenor { \global \clef "bass" \voiceOne \tenorMelodie }
+ \new Voice = bass { \global \clef "bass" \voiceTwo \bassMelodie }
+ >>
>>
->>
+ \layout {
+ indent = #0
+ \context {
+ \Staff
+ \RemoveEmptyStaves
+ \override VerticalAxisGroup #'remove-first = ##t
+ }
+ }
+}
diff --git a/Aller_Augen_warten_auf_dich_Herre/Makefile b/Aller_Augen_warten_auf_dich_Herre/Makefile
new file mode 100644
index 0000000..3fa24ea
--- /dev/null
+++ b/Aller_Augen_warten_auf_dich_Herre/Makefile
@@ -0,0 +1,43 @@
+CURDOC=$(shell basename "$(CURDIR)")
+STROPHEN=[1-9]\|1[01]
+
+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
+
+ifeq ($(KLAVIER),1)
+ KLAVIER_REGEX=
+else
+ KLAVIER_REGEX=/%Klavier%/d;
+endif
+
+all: $(CURDOC).pdf
+
+clean:
+ rm -f *.pre
+
+Clean: clean
+ rm -f *.pdf *.midi
+
+%.pre: %.ly
+ sed " \
+ s@%spezifisch%@$(SPEZIFISCH)@ ; \
+ /%STR_\($(STROPHEN)\)%/{ \
+ s/%[A-Z_0-9]\+%//; \
+ p; \
+ d; \
+ }; \
+ /%[A-Z_0-9]\+%/d \
+ " "$<" > "$@"
+
+%.pdf: %.pre *.ly
+ lilypond $<