From 08c94aa389764c083ce42127548d1c3d52bc00c8 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 26 Oct 2018 08:52:13 +0200 Subject: Verleih_uns_Frieden: Makefile new --- Verleih_uns_Frieden/Makefile | 31 ++++++++++++++++++++++++++++++ Verleih_uns_Frieden/Verleih_uns_Frieden.ly | 23 ++++++++++++++-------- 2 files changed, 46 insertions(+), 8 deletions(-) create mode 100644 Verleih_uns_Frieden/Makefile (limited to 'Verleih_uns_Frieden') diff --git a/Verleih_uns_Frieden/Makefile b/Verleih_uns_Frieden/Makefile new file mode 100644 index 0000000..5b3af49 --- /dev/null +++ b/Verleih_uns_Frieden/Makefile @@ -0,0 +1,31 @@ +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 + +all: $(CURDOC).pdf + +clean: + rm -f *.pre + +Clean: clean + rm -f *.pdf *.midi + +%.pre: %.ly + sed " \ + s@%spezifisch%@$(SPEZIFISCH)@ ; \ + $(MIDI_REGEX) \ + " "$<" > "$@" + +%.pdf: %.pre *.ly + lilypond $< diff --git a/Verleih_uns_Frieden/Verleih_uns_Frieden.ly b/Verleih_uns_Frieden/Verleih_uns_Frieden.ly index e433d11..ae03691 100644 --- a/Verleih_uns_Frieden/Verleih_uns_Frieden.ly +++ b/Verleih_uns_Frieden/Verleih_uns_Frieden.ly @@ -1,21 +1,28 @@ \include "deutsch.ly" +#(ly:set-option 'relative-includes #t) \include "stimmen.ly" \include "texte.ly" +#(ly:set-option 'relative-includes #f) -\pointAndClickOff +%spezifisch% -#(set! paper-alist (cons '("kindle" . (cons (* 210 mm) (* 130 mm))) paper-alist)) -#(set-default-paper-size "kindle") +\pointAndClickOff \header { - title = "Verleih uns Frieden" - subtitle = "Choralkantate" - composer = "Felix Mendelssohn Bartholdy (1809-1847)" - poet = "Gebet nach Worten von Luther" - tagline = ##f + tagline = "" +} +\paper { + top-margin = 5 + print-all-headers = ##t } \score { + \header { + title = "Verleih uns Frieden" + subtitle = "Choralkantate" + composer = "Felix Mendelssohn Bartholdy (1809-1847)" + poet = "Gebet nach Worten von Luther" + } \new ChoirStaff << \set Score.skipBars = ##t \new Lyrics = "sopranText" {} -- cgit v1.2.3-70-g09d2