diff options
author | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-07-19 17:34:35 +0200 |
---|---|---|
committer | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-07-19 17:34:35 +0200 |
commit | e875ba6faef78a6cfdfa3df501200b9227289d87 (patch) | |
tree | 8251ed762760d768aa9c5a251a1e6a770c16e106 /Speisezettel_(CIS_-_Buch) | |
parent | e050a1de8056d53164a833cf03bb7c326ec8d0a6 (diff) | |
download | Musik-e875ba6faef78a6cfdfa3df501200b9227289d87.tar.xz |
fix CIS Makefiles
Diffstat (limited to 'Speisezettel_(CIS_-_Buch)')
-rw-r--r-- | Speisezettel_(CIS_-_Buch)/Makefile | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/Speisezettel_(CIS_-_Buch)/Makefile b/Speisezettel_(CIS_-_Buch)/Makefile index 93067fb..ff3ee4e 100644 --- a/Speisezettel_(CIS_-_Buch)/Makefile +++ b/Speisezettel_(CIS_-_Buch)/Makefile @@ -1,10 +1,8 @@ CURDOC=$(shell basename "$(CURDIR)") -DIRS=../Geh_aus_mein_Herz ../In_dieser_lieben_Sommerzeit +EXTRAS=$(shell ../.meta/find-extras) -EXTRAS=-mit-Texthinweisen - -all: $(CURDOC)$(EXTRAS).pdf +all: $(CURDOC)$(EXTRAS).pdf $(CURDOC)$(EXTRAS)-tolino.pdf print: @echo $(CURDOC)$(EXTRAS).pdf @@ -20,13 +18,7 @@ include ../.meta/*.mk %.pre: %.ly cat "$<" > "$@" -Geh_aus_mein_Herz_%.pre: ../Geh_aus_mein_Herz/%.ly - cat "$<" > "$@" - -In_dieser_lieben_Sommerzeit_%.pre: ../In_dieser_lieben_Sommerzeit/%.ly - cat "$<" > "$@" - -%.post: %.pre $(patsubst %.ly,%.pre,$(shell find $(DIRS) -name '*.ly' | cut -d/ -f2,3 | tr '/' '_')) ../.meta/header.ly +%.post: %.pre $(patsubst %.ly,%.pre, $(shell find . -name '*.ly')) ../.meta/header.ly cat ../.meta/header.ly "$<" \ |m4 \ >"$@" @@ -34,3 +26,12 @@ In_dieser_lieben_Sommerzeit_%.pre: ../In_dieser_lieben_Sommerzeit/%.ly %.pdf: %.post lilypond $< pkill -SIGHUP -xf "mupdf(-x11)? $@" || true + +%.midi: %-midi.post + lilypond $< + for s in *-midi*.midi; do \ + mv "$$s" "$${s%-midi*.midi}$${s##*-midi}"; \ + done + +%.wav: %.midi + fluidsynth --audio-driver=file -o audio.file.name=$@ -i $< |