From 316336ca917342db1b26478b08e36e16d97f342e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 17 Nov 2022 14:04:01 +0100 Subject: make midis prettier --- Ich_steh_an_deinem_Kreuz/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Ich_steh_an_deinem_Kreuz/Makefile') diff --git a/Ich_steh_an_deinem_Kreuz/Makefile b/Ich_steh_an_deinem_Kreuz/Makefile index 0d2ab77..79587e6 100644 --- a/Ich_steh_an_deinem_Kreuz/Makefile +++ b/Ich_steh_an_deinem_Kreuz/Makefile @@ -24,8 +24,8 @@ include ../.meta/*.mk lilypond $< pkill -SIGHUP -xf "mupdf(-x11)? $@" || true -%-midi.midi: %-midi.post +%.midi: %-midi.post lilypond $< - -%.midi: %-midi.midi - mv $< $@ + for s in *-midi*.midi; do \ + mv "$$s" "$${s%-midi*.midi}$${s##*-midi}"; \ + done -- cgit v1.2.3-70-g09d2