diff options
author | Erich Eckner <git@eckner.net> | 2018-10-16 08:24:01 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-10-16 08:24:17 +0200 |
commit | 9741ab7b97d68f97b103c19160172c4e642bca8b (patch) | |
tree | ea488bfc8dcc09696a94b5bad864825ad595a3da /Froehlich_soll_mein_Herze_springen | |
parent | 312a0776d78883221b5914549b930a04a7c33959 (diff) | |
download | Musik-9741ab7b97d68f97b103c19160172c4e642bca8b.tar.xz |
Froehlich_soll_mein_Herze_springen: Makefile neu
Diffstat (limited to 'Froehlich_soll_mein_Herze_springen')
-rw-r--r-- | Froehlich_soll_mein_Herze_springen/Froehlich_soll_mein_Herze_springen.ly | 13 | ||||
-rw-r--r-- | Froehlich_soll_mein_Herze_springen/Makefile | 38 |
2 files changed, 49 insertions, 2 deletions
diff --git a/Froehlich_soll_mein_Herze_springen/Froehlich_soll_mein_Herze_springen.ly b/Froehlich_soll_mein_Herze_springen/Froehlich_soll_mein_Herze_springen.ly index ccb5f53..82b7acc 100644 --- a/Froehlich_soll_mein_Herze_springen/Froehlich_soll_mein_Herze_springen.ly +++ b/Froehlich_soll_mein_Herze_springen/Froehlich_soll_mein_Herze_springen.ly @@ -1,9 +1,12 @@ \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 @@ -12,9 +15,15 @@ } \paper { top-margin = 5 + print-all-headers = ##t } \score { + \header { + title = "Fröhlich soll mein Herze springen" + poet = "Paul Gerhardt (1607-1676)" + composer = "Melodie: Johann Crüger: 1656" + } << \new Staff << \new Voice { \globalI \oberPausen } diff --git a/Froehlich_soll_mein_Herze_springen/Makefile b/Froehlich_soll_mein_Herze_springen/Makefile new file mode 100644 index 0000000..8cdc1e0 --- /dev/null +++ b/Froehlich_soll_mein_Herze_springen/Makefile @@ -0,0 +1,38 @@ +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 + +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)@ ; \ + $(KLAVIER_REGEX) \ + $(MIDI_REGEX) \ + " "$<" > "$@" + +%.pdf: %.pre *.ly + lilypond $< |