>> Uuh, you are using `%.midi' in the rule but you are moving *.mid
>> files! You should use `%.mid' too since this is what lilypond
>> creates if run on Windows, right? The comment should be updated
>> accordingly.
>
> You're right, but oddly, it worked as expected even without fixing
> the pattern rule. The .mid files were put into the MIDI directory.
Well, if you don't mention the MIDI file somewhere else in the
Makefile, the `%.midi: %.ly' rule never gets executed -- it is the
`%.pdf: %.ly' part which creates both PDF and MIDI output (and which
subsequently gets renamed afterwards).
For testing purposes, you might try to add
foo: $(piece)I.mid
to the make file, retaining the incorrect rule. Now saying
make foo
won't work at all.
Werner
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel