summaryrefslogtreecommitdiff
path: root/Herbei_o_ihr_Glaeubgen
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-12-22 00:34:54 +0100
committerErich Eckner <git@eckner.net>2018-12-22 00:34:54 +0100
commit924a65034977c03d9f329c59817fd42f768ad382 (patch)
tree17a82928182e61647457c443c935f3ed94b56426 /Herbei_o_ihr_Glaeubgen
parent2e9ba619f5dccc8df5f56eb3d49b46434719bf8e (diff)
downloadMusik-924a65034977c03d9f329c59817fd42f768ad382.tar.xz
Herbei_o_ihr_Glaeubgen: Strophen konfigurierbar
Diffstat (limited to 'Herbei_o_ihr_Glaeubgen')
-rw-r--r--Herbei_o_ihr_Glaeubgen/Herbei_o_ihr_Glaeubgen.ly8
-rw-r--r--Herbei_o_ihr_Glaeubgen/Makefile11
2 files changed, 14 insertions, 5 deletions
diff --git a/Herbei_o_ihr_Glaeubgen/Herbei_o_ihr_Glaeubgen.ly b/Herbei_o_ihr_Glaeubgen/Herbei_o_ihr_Glaeubgen.ly
index 18c4c7b..96b460a 100644
--- a/Herbei_o_ihr_Glaeubgen/Herbei_o_ihr_Glaeubgen.ly
+++ b/Herbei_o_ihr_Glaeubgen/Herbei_o_ihr_Glaeubgen.ly
@@ -26,10 +26,10 @@
\new Voice = sopran { \global \voiceOne \sopranMelodie }
\new Voice = alt { \global \voiceTwo \altMelodie }
>>
- \new Lyrics \lyricsto sopran { \textI }
- \new Lyrics \lyricsto sopran { \textII }
- \new Lyrics \lyricsto sopran { \textIII }
- \new Lyrics \lyricsto sopran { \textIV }
+ %STR_1% \new Lyrics \lyricsto sopran { \textI }
+ %STR_2% \new Lyrics \lyricsto sopran { \textII }
+ %STR_3% \new Lyrics \lyricsto sopran { \textIII }
+ %STR_4% \new Lyrics \lyricsto sopran { \textIV }
\new Staff <<
\new Voice = maenner { \global \clef "bass" \pausenMaenner }
\new Voice = tenor { \global \clef "bass" \voiceOne \tenorMelodie }
diff --git a/Herbei_o_ihr_Glaeubgen/Makefile b/Herbei_o_ihr_Glaeubgen/Makefile
index ef6dedf..00d4a63 100644
--- a/Herbei_o_ihr_Glaeubgen/Makefile
+++ b/Herbei_o_ihr_Glaeubgen/Makefile
@@ -1,4 +1,5 @@
CURDOC=$(shell basename "$(CURDIR)")
+STROPHEN=[1-4]
ifeq ($(FUER),ewe)
SPEZIFISCH=\#(set! paper-alist (cons '(\"kindle\" . (cons (* 210 mm) (* 130 mm))) paper-alist))\n\#(set-default-paper-size \"kindle\")
@@ -16,7 +17,15 @@ Clean: clean
rm -f *.pdf *.midi
%.pre: %.ly
- sed "s@%spezifisch%@$(SPEZIFISCH)@" "$<" > "$@"
+ sed " \
+ s@%spezifisch%@$(SPEZIFISCH)@ ; \
+ /%STR_\($(STROPHEN)\)%/{ \
+ s/%[A-Z_0-9]\+%//; \
+ p; \
+ d; \
+ }; \
+ /%[A-Z_0-9]\+%/d \
+ " "$<" > "$@"
%.pdf: %.pre *.ly
lilypond $<