summaryrefslogtreecommitdiff
path: root/Jerusalem
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-16 10:30:14 +0100
committerErich Eckner <git@eckner.net>2020-01-16 10:30:14 +0100
commita253d071f3590e20cdada86e3448be0fd2ba5c9a (patch)
treed3f5d395e55efc4b05b7914e76ed78182c2392ec /Jerusalem
parente7dfa8bd0e3c0e2a75c56d3c3c8fb615e1f4e0af (diff)
downloadMusik-a253d071f3590e20cdada86e3448be0fd2ba5c9a.tar.xz
Jerusalem: use meta files
Diffstat (limited to 'Jerusalem')
-rw-r--r--Jerusalem/Jerusalem.ly4
-rw-r--r--Jerusalem/Makefile19
2 files changed, 11 insertions, 12 deletions
diff --git a/Jerusalem/Jerusalem.ly b/Jerusalem/Jerusalem.ly
index e0735cb..15445b2 100644
--- a/Jerusalem/Jerusalem.ly
+++ b/Jerusalem/Jerusalem.ly
@@ -1,11 +1,7 @@
-%some settings% vim: ai sw=2 lbr nu et
-
\version "2.18"
\include "deutsch.ly"
-%spezifisch%
-
\pointAndClickOff
\header {
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 $<