summaryrefslogtreecommitdiff
path: root/Es_ist_ein_Ros_entsprungen/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-12-22 00:46:42 +0100
committerErich Eckner <git@eckner.net>2018-12-22 00:46:42 +0100
commitdeb20fdb0222f8b41a4b180b9c7aca62582ad4da (patch)
tree0624ffae57df57cb8bbee9416d7525d6ecb72a58 /Es_ist_ein_Ros_entsprungen/Makefile
parent4fa01a7a4cf1e4acff9d3ad853e72db2d96f6a17 (diff)
downloadMusik-deb20fdb0222f8b41a4b180b9c7aca62582ad4da.tar.xz
Es_ist_ein_Ros_entsprungen: Strophen konfigurierbar
Diffstat (limited to 'Es_ist_ein_Ros_entsprungen/Makefile')
-rw-r--r--Es_ist_ein_Ros_entsprungen/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Es_ist_ein_Ros_entsprungen/Makefile b/Es_ist_ein_Ros_entsprungen/Makefile
index 8cdc1e0..03c76e6 100644
--- a/Es_ist_ein_Ros_entsprungen/Makefile
+++ b/Es_ist_ein_Ros_entsprungen/Makefile
@@ -1,4 +1,5 @@
CURDOC=$(shell basename "$(CURDIR)")
+STROPHEN=[1-4]
ifeq ($(FUER),ewe)
SPEZIFISCH=\#(set! paper-alist (cons '(\"kindle\" . (cons (* 210 mm) (* 130 mm))) paper-alist))\n\#(set-default-paper-size \"kindle\")
@@ -30,9 +31,15 @@ Clean: clean
%.pre: %.ly
sed " \
s@%spezifisch%@$(SPEZIFISCH)@ ; \
+ /%STR_\($(STROPHEN)\)%/{ \
+ s/%[A-Z_0-9]\+%//; \
+ p; \
+ d; \
+ }; \
+ /%[A-Z_0-9]\+%/d ; \
$(KLAVIER_REGEX) \
$(MIDI_REGEX) \
" "$<" > "$@"
-%.pdf: %.pre *.ly
+%.pdf: %.pre satz.pre *.ly
lilypond $<