summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorJulien Rioux <jrioux@physics.utoronto.ca>2012-01-14 15:46:39 -0500
committerJulien Rioux <jrioux@physics.utoronto.ca>2012-01-16 15:31:43 -0500
commit84e6f36e6a5d5f088f45c41244b2e6271322469a (patch)
tree2ab2d7412fa117847d14d36995d8d71a3f145cfb /make
parenta97ee31f7ea2a0b82591987087b95d292097f166 (diff)
Build: Copy midi regtest input files.
Copy midi regtest input files to the output folder so that the regtest script finds them.
Diffstat (limited to 'make')
-rw-r--r--make/midi-rules.make1
1 files changed, 1 insertions, 0 deletions
diff --git a/make/midi-rules.make b/make/midi-rules.make
index 219eb262ce..a5cee58b96 100644
--- a/make/midi-rules.make
+++ b/make/midi-rules.make
@@ -6,6 +6,7 @@ $(outdir)/%.ly: %.midi
$(outdir)/%.midi: %.ly $(LILYPOND_BINARY)
touch $(foreach f, $(HEADER_FIELDS), $(outdir)/$*.$f)
$(LILYPOND_BINARY) $(HEADER_FIELDS:%=-H %) -o $(outdir) $<
+ cp $< $(outdir)
$(outdir)/%-midi.ly: $(outdir)/%.midi $(MIDI2LY)
(echo '\header {'; for f in $(HEADER_FIELDS); do echo -n $$f'="'; cat $(outdir)/$*.$$f; echo '"'; done; echo '}') > $(outdir)/$*.header