summaryrefslogtreecommitdiff
path: root/Magnificat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Magnificat/Makefile')
-rw-r--r--Magnificat/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Magnificat/Makefile b/Magnificat/Makefile
index 0d2ab77..79587e6 100644
--- a/Magnificat/Makefile
+++ b/Magnificat/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