From a253d071f3590e20cdada86e3448be0fd2ba5c9a Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 16 Jan 2020 10:30:14 +0100 Subject: Jerusalem: use meta files --- Jerusalem/Makefile | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'Jerusalem/Makefile') diff --git a/Jerusalem/Makefile b/Jerusalem/Makefile index 90de8d6..a69b3db 100644 --- a/Jerusalem/Makefile +++ b/Jerusalem/Makefile @@ -2,13 +2,6 @@ CURDOC=$(shell basename "$(CURDIR)") STROPHEN=[1-3] VARIANTE=1 -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 @@ -39,5 +32,15 @@ Clean: clean $(MIDI_REGEX) \ " "$<" > "$@" -%.pdf: %.pre parts/*.ly +$(CURDOC).meta: $(CURDOC)-plain.meta + cat "$<" >"$@" + +$(CURDOC)-%.meta: ../.meta/%.meta + sed " \ + 1 i define(input,$(CURDOC).ly) \ + " "$<" \ + | m4 \ + >"$@" + +%.pdf: %.meta $(CURDOC).ly parts/*.ly lilypond $< -- cgit v1.2.3-70-g09d2