lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DOCS: revising LM "Score and Parts"


From: Werner LEMBERG
Subject: Re: DOCS: revising LM "Score and Parts"
Date: Tue, 26 May 2009 13:43:41 +0200 (CEST)

>> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]