diff options
author | Erich Eckner <git@eckner.net> | 2019-08-17 22:13:17 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-08-17 22:13:17 +0200 |
commit | c63ae0bc4ca7997e4c56b48cd07aa426ffd7a5ac (patch) | |
tree | 70682744a65605cce31bc669ffa4b076ed10b968 /Lobe_den_Herren_/Makefile | |
parent | afebb697442613040a8309dd9690bd36282ebc3c (diff) | |
download | Musik-c63ae0bc4ca7997e4c56b48cd07aa426ffd7a5ac.tar.xz |
Lobe_den_Herren_: Oberstimme neu, alles transponierbar
Diffstat (limited to 'Lobe_den_Herren_/Makefile')
-rw-r--r-- | Lobe_den_Herren_/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Lobe_den_Herren_/Makefile b/Lobe_den_Herren_/Makefile index 534dba3..86849a0 100644 --- a/Lobe_den_Herren_/Makefile +++ b/Lobe_den_Herren_/Makefile @@ -1,5 +1,6 @@ CURDOC=$(shell basename "$(CURDIR)") STROPHEN=[1-5] +TRANSPOSE=c ifeq ($(FUER),ewe) SPEZIFISCH=\#(set! paper-alist (cons '(\"kindle\" . (cons (* 210 mm) (* 130 mm))) paper-alist))\n\#(set-default-paper-size \"kindle\") @@ -8,6 +9,12 @@ else # \#(set-global-staff-size 14) endif +ifeq ($(OBERSTIMME),1) + OBERSTIMMEN_REGEX=s/%Oberstimme%//; +else + OBERSTIMMEN_REGEX=/%Oberstimme%/d; +endif + all: $(CURDOC).pdf pkill -SIGHUP -xf 'mupdf(-x11)? (.*/)?$<' || true @@ -20,6 +27,8 @@ Clean: clean %.pre: %.ly sed " \ s@%spezifisch%@$(SPEZIFISCH)@ ; \ + s@%TRANSPOSE%@$(TRANSPOSE)@g; \ + $(OBERSTIMMEN_REGEX) \ /%STR_\($(STROPHEN)\)%/{ \ s/%[A-Z_0-9]\+%//; \ p; \ |