diff options
author | Erich Eckner <git@eckner.net> | 2020-01-16 10:30:14 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-01-16 10:30:14 +0100 |
commit | a253d071f3590e20cdada86e3448be0fd2ba5c9a (patch) | |
tree | d3f5d395e55efc4b05b7914e76ed78182c2392ec /Jerusalem/Makefile | |
parent | e7dfa8bd0e3c0e2a75c56d3c3c8fb615e1f4e0af (diff) | |
download | Musik-a253d071f3590e20cdada86e3448be0fd2ba5c9a.tar.xz |
Jerusalem: use meta files
Diffstat (limited to 'Jerusalem/Makefile')
-rw-r--r-- | Jerusalem/Makefile | 19 |
1 files changed, 11 insertions, 8 deletions
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 $< |