diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | .meta/plain.meta | 1 | ||||
-rw-r--r-- | .meta/tolino.meta | 4 | ||||
-rw-r--r-- | Jerusalem/Jerusalem.ly | 4 | ||||
-rw-r--r-- | Jerusalem/Makefile | 19 |
5 files changed, 18 insertions, 12 deletions
@@ -9,3 +9,5 @@ *.pre *.ps !.gitignore +!.meta/ +!.meta/*.meta diff --git a/.meta/plain.meta b/.meta/plain.meta new file mode 100644 index 0000000..50bf49d --- /dev/null +++ b/.meta/plain.meta @@ -0,0 +1 @@ +include(input) diff --git a/.meta/tolino.meta b/.meta/tolino.meta new file mode 100644 index 0000000..0e351f6 --- /dev/null +++ b/.meta/tolino.meta @@ -0,0 +1,4 @@ +#(set! paper-alist (cons '("tolino" . (cons (* 244 mm) (* 180 mm))) paper-alist)) +#(set-default-paper-size "tolino") + +include(input) 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 $< |