From 437efc014b9957a90e431f6f3a308aec48f05bd9 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 3 Jan 2019 11:17:01 +0100 Subject: Aller_Augen_warten_auf_dich_Herre: Makefile neu --- .../Aller_Augen_warten_auf_dich_Herre.ly | 55 ++++++++++++++-------- Aller_Augen_warten_auf_dich_Herre/Makefile | 43 +++++++++++++++++ 2 files changed, 78 insertions(+), 20 deletions(-) create mode 100644 Aller_Augen_warten_auf_dich_Herre/Makefile (limited to 'Aller_Augen_warten_auf_dich_Herre') 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 $< -- cgit v1.2.3-70-g09d2