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