From 93f8d407c089ef53fe0f55b868342631cdee6ab1 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 19 Nov 2016 09:31:07 +0100 Subject: Macht_hoch_die_Tuer_: Makefile --- Macht_hoch_die_Tuer_/Macht_hoch_die_Tuer_.ly | 3 +-- Macht_hoch_die_Tuer_/Makefile | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 Macht_hoch_die_Tuer_/Makefile (limited to 'Macht_hoch_die_Tuer_') diff --git a/Macht_hoch_die_Tuer_/Macht_hoch_die_Tuer_.ly b/Macht_hoch_die_Tuer_/Macht_hoch_die_Tuer_.ly index 1c43fd2..03494a6 100644 --- a/Macht_hoch_die_Tuer_/Macht_hoch_die_Tuer_.ly +++ b/Macht_hoch_die_Tuer_/Macht_hoch_die_Tuer_.ly @@ -2,8 +2,7 @@ \include "stimmen.ly" \include "texte.ly" -#(set! paper-alist (cons '("kindle" . (cons (* 210 mm) (* 130 mm))) paper-alist)) -#(set-default-paper-size "kindle") +%spezifisch% \pointAndClickOff diff --git a/Macht_hoch_die_Tuer_/Makefile b/Macht_hoch_die_Tuer_/Makefile new file mode 100644 index 0000000..ef6dedf --- /dev/null +++ b/Macht_hoch_die_Tuer_/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