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 --- Es_ist_ein_Ros_entsprungen/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Es_ist_ein_Ros_entsprungen/Makefile') diff --git a/Es_ist_ein_Ros_entsprungen/Makefile b/Es_ist_ein_Ros_entsprungen/Makefile index 0d2ab77..79587e6 100644 --- a/Es_ist_ein_Ros_entsprungen/Makefile +++ b/Es_ist_ein_Ros_entsprungen/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