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