diff options
author | Erich Eckner <git@eckner.net> | 2019-11-11 10:04:18 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-11-11 10:04:18 +0100 |
commit | 2e1cd1e452ac5ae1bf04a9767dfbab3ff991ee92 (patch) | |
tree | 0a5a7830734fc15535df57bdd2ed038ca18058c2 /Lobsinget_Gott_dem_Herrn/Makefile | |
parent | 3d59a1c8ce6be759609c183017d8e881f3d791f1 (diff) | |
download | Musik-2e1cd1e452ac5ae1bf04a9767dfbab3ff991ee92.tar.xz |
Lobsinget_Gott_dem_Herrn: Klavierstimme optional
Diffstat (limited to 'Lobsinget_Gott_dem_Herrn/Makefile')
-rw-r--r-- | Lobsinget_Gott_dem_Herrn/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Lobsinget_Gott_dem_Herrn/Makefile b/Lobsinget_Gott_dem_Herrn/Makefile index 300cdb2..b49439c 100644 --- a/Lobsinget_Gott_dem_Herrn/Makefile +++ b/Lobsinget_Gott_dem_Herrn/Makefile @@ -7,6 +7,12 @@ else # \#(set-global-staff-size 14) endif +ifeq ($(KLAVIER),1) + KLAVIER_REGEX= +else + KLAVIER_REGEX=/%Klavier%/d; +endif + all: $(CURDOC).pdf pkill -SIGHUP -xf 'mupdf(-x11)? (.*/)?$<' || true @@ -17,7 +23,7 @@ Clean: clean rm -f *.pdf *.midi %.pre: %.ly - sed "s@%spezifisch%@$(SPEZIFISCH)@" "$<" > "$@" + sed "s@%spezifisch%@$(SPEZIFISCH)@;$(KLAVIER_REGEX)" "$<" > "$@" %.pdf: %.pre *.ly lilypond $< |