summaryrefslogtreecommitdiff
path: root/Jerusalem/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Jerusalem/Makefile')
-rw-r--r--Jerusalem/Makefile19
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 $<