diff options
-rw-r--r-- | 20190327_Sonntagsseele/Makefile | 23 | ||||
-rw-r--r-- | Aennchen_von_Tharau_(CIS_Buch)/Makefile | 23 | ||||
-rw-r--r-- | Aura_Lee/Makefile | 23 | ||||
-rw-r--r-- | Das_Heimattal/Makefile | 23 | ||||
-rw-r--r-- | Erbauliche_Gedanken_eines_Tabakrauchers/Makefile | 23 | ||||
-rw-r--r-- | Funk_-_Versuchung_Jesu/Makefile | 23 | ||||
-rw-r--r-- | Hebt_die_Glaeser/Makefile | 23 | ||||
-rw-r--r-- | La-Le-Lu/Makefile | 23 | ||||
-rw-r--r-- | Mein_kleiner_gruener_Kaktus/Makefile | 23 | ||||
-rw-r--r-- | Nuechtern/Makefile | 23 | ||||
-rw-r--r-- | Prost/Makefile | 23 | ||||
-rw-r--r-- | Sandmann/Makefile | 23 | ||||
-rw-r--r-- | Schaff_in_mir_Gott/Makefile | 23 | ||||
-rw-r--r-- | Schuetz_Singet_dem_Herrn_CIS/Makefile | 23 | ||||
-rw-r--r-- | Schwul_(CIS_Buch)/Makefile | 23 | ||||
-rw-r--r-- | Spanische_Naechte/Makefile | 23 | ||||
-rw-r--r-- | Speisezettel_(CIS_-_Buch)/Makefile | 23 | ||||
-rw-r--r-- | Wie_kann_es_sein/Makefile | 23 | ||||
-rw-r--r-- | bierlobx/Makefile | 23 |
19 files changed, 228 insertions, 209 deletions
diff --git a/20190327_Sonntagsseele/Makefile b/20190327_Sonntagsseele/Makefile index 93067fb..ff3ee4e 100644 --- a/20190327_Sonntagsseele/Makefile +++ b/20190327_Sonntagsseele/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 $< diff --git a/Aennchen_von_Tharau_(CIS_Buch)/Makefile b/Aennchen_von_Tharau_(CIS_Buch)/Makefile index 93067fb..ff3ee4e 100644 --- a/Aennchen_von_Tharau_(CIS_Buch)/Makefile +++ b/Aennchen_von_Tharau_(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 $< diff --git a/Aura_Lee/Makefile b/Aura_Lee/Makefile index 93067fb..ff3ee4e 100644 --- a/Aura_Lee/Makefile +++ b/Aura_Lee/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 $< diff --git a/Das_Heimattal/Makefile b/Das_Heimattal/Makefile index 93067fb..ff3ee4e 100644 --- a/Das_Heimattal/Makefile +++ b/Das_Heimattal/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 $< diff --git a/Erbauliche_Gedanken_eines_Tabakrauchers/Makefile b/Erbauliche_Gedanken_eines_Tabakrauchers/Makefile index 93067fb..ff3ee4e 100644 --- a/Erbauliche_Gedanken_eines_Tabakrauchers/Makefile +++ b/Erbauliche_Gedanken_eines_Tabakrauchers/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 $< diff --git a/Funk_-_Versuchung_Jesu/Makefile b/Funk_-_Versuchung_Jesu/Makefile index 93067fb..ff3ee4e 100644 --- a/Funk_-_Versuchung_Jesu/Makefile +++ b/Funk_-_Versuchung_Jesu/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 $< diff --git a/Hebt_die_Glaeser/Makefile b/Hebt_die_Glaeser/Makefile index 93067fb..ff3ee4e 100644 --- a/Hebt_die_Glaeser/Makefile +++ b/Hebt_die_Glaeser/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 $< diff --git a/La-Le-Lu/Makefile b/La-Le-Lu/Makefile index 93067fb..ff3ee4e 100644 --- a/La-Le-Lu/Makefile +++ b/La-Le-Lu/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 $< diff --git a/Mein_kleiner_gruener_Kaktus/Makefile b/Mein_kleiner_gruener_Kaktus/Makefile index 93067fb..ff3ee4e 100644 --- a/Mein_kleiner_gruener_Kaktus/Makefile +++ b/Mein_kleiner_gruener_Kaktus/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 $< diff --git a/Nuechtern/Makefile b/Nuechtern/Makefile index 93067fb..ff3ee4e 100644 --- a/Nuechtern/Makefile +++ b/Nuechtern/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 $< diff --git a/Prost/Makefile b/Prost/Makefile index 93067fb..ff3ee4e 100644 --- a/Prost/Makefile +++ b/Prost/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 $< diff --git a/Sandmann/Makefile b/Sandmann/Makefile index 93067fb..ff3ee4e 100644 --- a/Sandmann/Makefile +++ b/Sandmann/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 $< diff --git a/Schaff_in_mir_Gott/Makefile b/Schaff_in_mir_Gott/Makefile index 93067fb..ff3ee4e 100644 --- a/Schaff_in_mir_Gott/Makefile +++ b/Schaff_in_mir_Gott/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 $< diff --git a/Schuetz_Singet_dem_Herrn_CIS/Makefile b/Schuetz_Singet_dem_Herrn_CIS/Makefile index 93067fb..ff3ee4e 100644 --- a/Schuetz_Singet_dem_Herrn_CIS/Makefile +++ b/Schuetz_Singet_dem_Herrn_CIS/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 $< diff --git a/Schwul_(CIS_Buch)/Makefile b/Schwul_(CIS_Buch)/Makefile index 93067fb..ff3ee4e 100644 --- a/Schwul_(CIS_Buch)/Makefile +++ b/Schwul_(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 $< diff --git a/Spanische_Naechte/Makefile b/Spanische_Naechte/Makefile index 93067fb..ff3ee4e 100644 --- a/Spanische_Naechte/Makefile +++ b/Spanische_Naechte/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 $< 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 $< diff --git a/Wie_kann_es_sein/Makefile b/Wie_kann_es_sein/Makefile index 93067fb..ff3ee4e 100644 --- a/Wie_kann_es_sein/Makefile +++ b/Wie_kann_es_sein/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 $< diff --git a/bierlobx/Makefile b/bierlobx/Makefile index 93067fb..ff3ee4e 100644 --- a/bierlobx/Makefile +++ b/bierlobx/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 $< |