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