On 5/22/09 8:41 PM, "Jonathan Kulp" <jonlancek...@gmail.com> wrote:

> Carl D. Sorensen wrote:
> 
>> 
>> I would agree with that.
>> 
>> Sometimes stuff is in My Documents, which has a space.
>> 
>> Carl
>> 
> 
> I've made some progress.  When I try to run "make score" on Windows XP,
> I get the following message:
> 
>    make: *** No rule to make target `stamitz.ly', needed by
> `stamitz.pdf'. Stop.
> 
> I get no such message when I run it on Linux.  Right now the target
> "score" is defined like this:
> 
>    # The dependencies of the full score.
>    $(piece).pdf: $(piece).ly $(notes)
> 
>    .PHONY: score
>    score: $(piece).pdf
> 
> At the top of the makefile is the pattern rule:
> 
>    # The pattern rule to create PDF and MIDI files from a LY input file.
>    # The .pdf output files are created in the `PDF' subdirectory, and the
>    # .midi files are put into the `MIDI' subdirectory.
>    %.pdf %.midi: %.ly
>         $(LILY_CMD) $<; \
>         if test -f "$*.pdf"; then \
>           mv "$*.pdf" PDF/; \
>         fi; \
>         if test -f "$*.midi"; then \
>           mv "$*.midi" MIDI/; \
>         fi
> 
> Now, the full score compiles if I change the score target to this:
> 
>    score:
>         $(LILY_CMD) Scores/$(piece).ly
> 
> So it looks like the Windows environment doesn't know how to deal with
> the pattern rule defined at the top of the Makefile.
> 
> I'm encouraged that it's pretty easy to run lily files at the DOS
> command line on Windows, at least.

Are you getting caught by the path separator:  it's \ in windows, but / in
linux?

Just a thought,

Carl

> 
> Jon
> --
> Jonathan Kulp
> http://www.jonathankulp.com



_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to