summaryrefslogtreecommitdiff
path: root/Gott_hat_mir_laengst_einen_Engel_gesandt
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-09 08:49:04 +0100
committerErich Eckner <git@eckner.net>2018-03-09 08:49:04 +0100
commitda02707190da5cff9f667215203a81ee821f684a (patch)
tree58773380502b4811a28afda272fb4dc2accc70dc /Gott_hat_mir_laengst_einen_Engel_gesandt
parente77e164deb7a0b1489d05919b2b60313168143b6 (diff)
downloadMusik-da02707190da5cff9f667215203a81ee821f684a.tar.xz
Gott_hat_mir_laengst_einen_Engel_gesandt: aus Makefile umgestellt
Diffstat (limited to 'Gott_hat_mir_laengst_einen_Engel_gesandt')
-rw-r--r--Gott_hat_mir_laengst_einen_Engel_gesandt/Gott_hat_mir_laengst_einen_Engel_gesandt.ly44
-rw-r--r--Gott_hat_mir_laengst_einen_Engel_gesandt/Makefile31
2 files changed, 57 insertions, 18 deletions
diff --git a/Gott_hat_mir_laengst_einen_Engel_gesandt/Gott_hat_mir_laengst_einen_Engel_gesandt.ly b/Gott_hat_mir_laengst_einen_Engel_gesandt/Gott_hat_mir_laengst_einen_Engel_gesandt.ly
index 95d5c33..25a0ff6 100644
--- a/Gott_hat_mir_laengst_einen_Engel_gesandt/Gott_hat_mir_laengst_einen_Engel_gesandt.ly
+++ b/Gott_hat_mir_laengst_einen_Engel_gesandt/Gott_hat_mir_laengst_einen_Engel_gesandt.ly
@@ -1,39 +1,47 @@
\include "deutsch.ly"
+#(ly:set-option 'relative-includes #t)
\include "stimmen.ly"
\include "texte.ly"
+#(ly:set-option 'relative-includes #f)
-#(set! paper-alist (cons '("kindle" . (cons (* 210 mm) (* 130 mm))) paper-alist))
-#(set-default-paper-size "kindle")
+%spezifisch%
+
+\version "2.19.80"
\pointAndClickOff
\header {
tagline = ""
- title = "Gott hat mir längst einen Engel gesandt"
}
\paper {
top-margin = 5
+ print-all-headers = ##t
}
\score {
- <<
+ \header {
+ title = "Gott hat mir längst einen Engel gesandt"
+ }
+ \new ChoirStaff <<
\set Score.skipBars = ##t
- \new ChoirStaff <<
- \new Staff <<
- \new Voice = pausenFrauen { \global \oneVoice \pausen }
- \new Voice = sopran { \global \voiceOne \sopranMelodie }
- \new Voice = alt { \global \voiceTwo \altMelodie }
- >>
- \new Lyrics \lyricsto sopran { \text }
- \new Staff <<
- \new Voice = pausenMaenner { \clef "bass" \global \oneVoice \pausen }
- \new Voice = tenor { \clef "bass" \voiceOne \global \tenorMelodie }
- \new Voice = bass { \clef "bass" \voiceTwo \global \bassMelodie }
- >>
+ \new Staff <<
+ \new Voice = pausenFrauen { \global \oneVoice \pausen }
+ \new Voice = sopran { \global \voiceOne \sopranMelodie }
+ \new Voice = alt { \global \voiceTwo \altMelodie }
+ >>
+ \new Lyrics \lyricsto sopran { \text }
+ \new Staff <<
+ \new Voice = pausenMaenner { \clef "bass" \global \oneVoice \pausen }
+ \new Voice = tenor { \clef "bass" \voiceOne \global \tenorMelodie }
+ \new Voice = bass { \clef "bass" \voiceTwo \global \bassMelodie }
>>
>>
\layout {
indent = #0
- \context { \Staff \RemoveEmptyStaves }
+ \context {
+ \Staff
+ \RemoveEmptyStaves
+ \override VerticalAxisGroup #'remove-first = ##t
+ }
}
-} \ No newline at end of file
+}
diff --git a/Gott_hat_mir_laengst_einen_Engel_gesandt/Makefile b/Gott_hat_mir_laengst_einen_Engel_gesandt/Makefile
new file mode 100644
index 0000000..5b3af49
--- /dev/null
+++ b/Gott_hat_mir_laengst_einen_Engel_gesandt/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 $<