diff options
author | Erich Eckner <git@eckner.net> | 2020-01-29 10:03:34 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-01-29 10:03:34 +0100 |
commit | f5e51746bb49c8f3aa2e9a81a82d7f776124a836 (patch) | |
tree | d1309dfa5c280ecbd6bbc91a6898b99316e38e92 /Masithi_Amen | |
parent | 7589bf97493f8a641d8d582928192dcb93314fb3 (diff) | |
download | Musik-f5e51746bb49c8f3aa2e9a81a82d7f776124a836.tar.xz |
Masithi_Amen: Makefile neu
Diffstat (limited to 'Masithi_Amen')
-rw-r--r-- | Masithi_Amen/Makefile | 22 | ||||
-rw-r--r-- | Masithi_Amen/Masithi_Amen.ly | 41 |
2 files changed, 41 insertions, 22 deletions
diff --git a/Masithi_Amen/Makefile b/Masithi_Amen/Makefile new file mode 100644 index 0000000..4a6b81d --- /dev/null +++ b/Masithi_Amen/Makefile @@ -0,0 +1,22 @@ +CURDOC=$(shell basename "$(CURDIR)") + +all: $(CURDOC).pdf + pkill -SIGHUP -xf 'mupdf(-x11)? (.*/)?$<' || true + +clean: + rm -f *.pre + +Clean: clean + rm -f *.pdf *.midi + +include ../.meta/*.mk + +%.pre: %.ly + cat "$<" > "$@" + +%.post: %.pre $(patsubst %.ly,%.pre, $(shell find . -name '*.ly')) + m4 <"$<" >"$@" + +%.pdf: %.post + lilypond $< + pkill -SIGHUP -xf "mupdf(-x11)? $@" || true diff --git a/Masithi_Amen/Masithi_Amen.ly b/Masithi_Amen/Masithi_Amen.ly index 787510f..1f6f49c 100644 --- a/Masithi_Amen/Masithi_Amen.ly +++ b/Masithi_Amen/Masithi_Amen.ly @@ -1,14 +1,14 @@ \include "deutsch.ly" -\include "stimmen.ly" -\include "texte.ly" - -#(set! paper-alist (cons '("kindle" . (cons (* 210 mm) (* 130 mm))) paper-alist)) -#(set-default-paper-size "kindle") +include(stimmen.pre) +include(texte.pre) \pointAndClickOff \header { - tagline = "" + title = "Masithi" + composer = "Text und Musik: Trad. aus Südafrika / Stefan Cuthbert Molefe" + poet = "Deutsch: Dieter Trautwein" + tagline = ##f } \paper { top-margin = 5 @@ -17,26 +17,23 @@ \score { \new ChoirStaff << \set Score.skipBars = ##t - \new Staff { - << - \pausenFrauen - \new Voice = "sopran" { \global \voiceOne \sopranMelodie } - \new Voice = "alt" { \global \voiceTwo \altMelodie } - >> - } - \new Lyrics = "textEins" {} - \new Lyrics = "textZwei" {} - \new Lyrics = "textDrei" {} - \new Lyrics = "textVier" {} + \new Staff << + \pausenFrauen + \new Voice = "sopran" { \global \voiceOne \sopranMelodie } + \new Voice = "alt" { \global \voiceTwo \altMelodie } + >> + ifdef(`STR_1',\new Lyrics = "textEins" {}) + ifdef(`STR_2',\new Lyrics = "textZwei" {}) + ifdef(`STR_3',\new Lyrics = "textDrei" {}) + ifdef(`STR_4',\new Lyrics = "textVier" {}) \new Staff = "maenner" << \new Voice = "tenor" { \global \clef "bass" \voiceOne \tenorMelodie } \new Voice = "bass" { \global \clef "bass" \voiceTwo \bassMelodie } >> - \context Lyrics = "textEins" \lyricsto "bass" \textI - \context Lyrics = "textZwei" \lyricsto "bass" \textII - \context Lyrics = "textDrei" \lyricsto "bass" \textIII - \context Lyrics = "textVier" \lyricsto "bass" \textIV - %\context Lyrics \with { alignAboveContext = "maenner" } \lyricsto "bass" \textII + ifdef(`STR_1',\context Lyrics = "textEins" \lyricsto "bass" \textI) + ifdef(`STR_2',\context Lyrics = "textZwei" \lyricsto "bass" \textII) + ifdef(`STR_3',\context Lyrics = "textDrei" \lyricsto "bass" \textIII) + ifdef(`STR_4',\context Lyrics = "textVier" \lyricsto "bass" \textIV) >> \layout { indent = #0 |