> For the moment I've added a crude method of putting the midi files in > the MIDI/ dir: > > mv PDF/*.midi MIDI/ > > If there's a way to automate this it would look nicer. Also, it only > works on the "make movements" command. I tried "make stamitzIV.pdf" > just now and it kept the midi file in the PDF directory. Sigh.
This slight adaptation of the pattern rule does what you want. %.pdf %.midi: %.ly $(LILY_CMD) $<; \ if test -f "$*.pdf"; then \ mv "$*.pdf" PDF/; \ fi; \ if test -f "$*.midi"; then \ mv "$*.midi" MIDI/; \ fi Werner _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel