diff options
author | Erich Eckner <git@eckner.net> | 2018-11-17 13:12:20 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-11-17 13:12:20 +0100 |
commit | 10f03c6ffa33c7d85b5880223b00f89bc43f2ce6 (patch) | |
tree | 36be0ebcc2fd297a8ed1b684eebf0651735c0033 /Macht_hoch_die_Tuer | |
parent | 9e1c3bef5d8a90ae8fd8a46ba20126293486ecbf (diff) | |
download | Musik-10f03c6ffa33c7d85b5880223b00f89bc43f2ce6.tar.xz |
Macht_hoch_die_Tuer: Makefile neu
Diffstat (limited to 'Macht_hoch_die_Tuer')
-rw-r--r-- | Macht_hoch_die_Tuer/Macht_hoch_die_Tuer.ly | 17 | ||||
-rw-r--r-- | Macht_hoch_die_Tuer/Makefile | 43 |
2 files changed, 54 insertions, 6 deletions
diff --git a/Macht_hoch_die_Tuer/Macht_hoch_die_Tuer.ly b/Macht_hoch_die_Tuer/Macht_hoch_die_Tuer.ly index 32502be..e262c98 100644 --- a/Macht_hoch_die_Tuer/Macht_hoch_die_Tuer.ly +++ b/Macht_hoch_die_Tuer/Macht_hoch_die_Tuer.ly @@ -1,24 +1,29 @@ \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% \pointAndClickOff \header { - title = "Macht hoch die Tür" - poet = "Text: Georg Weissel (1590-1635)" - composer = "Melodie: Halle 1704" - arranger = "Satz: Friedrich Silcher (1789-1860)" tagline = "" } \paper { top-margin = 5 + print-all-headers = ##t } \score { + \header { + title = "Macht hoch die Tür" + poet = "Text: Georg Weissel (1590-1635)" + composer = "Melodie: Halle 1704" + arranger = "Satz: Friedrich Silcher (1789-1860)" + tagline = "" + } \new ChoirStaff << \set Score.skipBars = ##t \new Staff << diff --git a/Macht_hoch_die_Tuer/Makefile b/Macht_hoch_die_Tuer/Makefile new file mode 100644 index 0000000..3fa24ea --- /dev/null +++ b/Macht_hoch_die_Tuer/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 $< |