From fa812c67dfbe618ec149863bf3e7b43d827e04c6 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 16 Jun 2017 13:04:31 +0200 Subject: Bleib_bei_mir_Herr: Makefile neu --- Bleib_bei_mir_Herr/Bleib_bei_mir_Herr.ly | 10 +++++++--- Bleib_bei_mir_Herr/Makefile | 23 +++++++++++++++++++++++ 2 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 Bleib_bei_mir_Herr/Makefile (limited to 'Bleib_bei_mir_Herr') diff --git a/Bleib_bei_mir_Herr/Bleib_bei_mir_Herr.ly b/Bleib_bei_mir_Herr/Bleib_bei_mir_Herr.ly index 79f6932..4fdd786 100644 --- a/Bleib_bei_mir_Herr/Bleib_bei_mir_Herr.ly +++ b/Bleib_bei_mir_Herr/Bleib_bei_mir_Herr.ly @@ -1,21 +1,25 @@ \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 = "Bleib bei mir, Herr" tagline = "" } \paper { top-margin = 5 + print-all-headers = ##t } \score { + \header { + title = "Bleib bei mir, Herr" + } \new ChoirStaff << \set Score.skipBars = ##t \new Staff << diff --git a/Bleib_bei_mir_Herr/Makefile b/Bleib_bei_mir_Herr/Makefile new file mode 100644 index 0000000..ef6dedf --- /dev/null +++ b/Bleib_bei_mir_Herr/Makefile @@ -0,0 +1,23 @@ +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 + +all: $(CURDOC).pdf + +clean: + rm -f *.pre + +Clean: clean + rm -f *.pdf *.midi + +%.pre: %.ly + sed "s@%spezifisch%@$(SPEZIFISCH)@" "$<" > "$@" + +%.pdf: %.pre *.ly + lilypond $< + -- cgit v1.2.3-70-g09d2