diff options
author | Erich Eckner <git@eckner.net> | 2018-12-21 23:39:07 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-12-21 23:39:07 +0100 |
commit | 478e97fb8893bd1ba12c2fa6ce4a00f72320d3cc (patch) | |
tree | 2c5aca80fab3ade390a68fdafe500c21dc330ad6 /Maria_durch_ein_Dornwald_ging | |
parent | 77c0afb5dde97370cd244b112f5dcbdb9a4a0028 (diff) | |
download | Musik-478e97fb8893bd1ba12c2fa6ce4a00f72320d3cc.tar.xz |
Maria_durch_ein_Dornwald_ging: Makefile neu
Diffstat (limited to 'Maria_durch_ein_Dornwald_ging')
-rw-r--r-- | Maria_durch_ein_Dornwald_ging/Makefile | 43 | ||||
-rw-r--r-- | Maria_durch_ein_Dornwald_ging/Maria_durch_ein_Dornwald_ging.ly | 10 |
2 files changed, 50 insertions, 3 deletions
diff --git a/Maria_durch_ein_Dornwald_ging/Makefile b/Maria_durch_ein_Dornwald_ging/Makefile new file mode 100644 index 0000000..2b83f54 --- /dev/null +++ b/Maria_durch_ein_Dornwald_ging/Makefile @@ -0,0 +1,43 @@ +CURDOC=$(shell basename "$(CURDIR)") +STROPHEN=[1-6] + +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 $< diff --git a/Maria_durch_ein_Dornwald_ging/Maria_durch_ein_Dornwald_ging.ly b/Maria_durch_ein_Dornwald_ging/Maria_durch_ein_Dornwald_ging.ly index 24e8f95..6bb2aec 100644 --- a/Maria_durch_ein_Dornwald_ging/Maria_durch_ein_Dornwald_ging.ly +++ b/Maria_durch_ein_Dornwald_ging/Maria_durch_ein_Dornwald_ging.ly @@ -1,22 +1,26 @@ \include "deutsch.ly" +#(ly:set-option 'relative-includes #t) \include "stimmen.ly" \include "texte.ly" \include "artikulation.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 = "Maria durch ein Dornwald ging" tagline = "" } \paper { top-margin = 5 + print-all-headers = ##t } \score { + \header { + title = "Maria durch ein Dornwald ging" + } \transpose d c \new ChoirStaff << \set Score.skipBars = ##t |