>> I don't know what
>> $(LILY_CMD) $<; \
>> means,
This calls lilypond -- or rather the contents of the variable LILY_CMD
-- with the prerequisite (the *.ly file) as the argument.
>> but the two if statements seem to check if there are any pdf or
>> midi files around and then move them to their directories.
>>
>> On Windows this can be achieved as follows:
>> if exist *.pdf move "*.pdf" PDF/
>> if exist *.midi move "*.pdf" MIDI/
>
> If it has to be on one line:
> if exist *.pdf move "*.pdf" PDF/ & if exist *.midi move "*.pdf" MIDI/
It is not necessary to put everything on a single line, but if you do
so you avoid (at least under GNU/Linux) additional calls to the
command shell, making the execution faster.
Werner
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel