[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DOCS: revising LM "Score and Parts"
From: |
Carl D. Sorensen |
Subject: |
Re: DOCS: revising LM "Score and Parts" |
Date: |
Fri, 22 May 2009 21:22:59 -0600 |
On 5/22/09 8:41 PM, "Jonathan Kulp" <address@hidden> 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
- Re: DOCS: revising LM "Score and Parts", (continued)
- Re: DOCS: revising LM "Score and Parts", Jonathan Kulp, 2009/05/22
- Re: DOCS: revising LM "Score and Parts", Jonathan Kulp, 2009/05/22
- Re: DOCS: revising LM "Score and Parts", Mats Bengtsson, 2009/05/22
- Re: DOCS: revising LM "Score and Parts", Jonathan Kulp, 2009/05/22
- Re: DOCS: revising LM "Score and Parts", Carl D. Sorensen, 2009/05/22
- Re: DOCS: revising LM "Score and Parts", Jonathan Kulp, 2009/05/22
- Re: DOCS: revising LM "Score and Parts", Carl D. Sorensen, 2009/05/22
- Re: DOCS: revising LM "Score and Parts", Jonathan Kulp, 2009/05/22
- Re: DOCS: revising LM "Score and Parts", Carl D. Sorensen, 2009/05/22
- Re: DOCS: revising LM "Score and Parts", Jonathan Kulp, 2009/05/22
- Re: DOCS: revising LM "Score and Parts",
Carl D. Sorensen <=
- Re: DOCS: revising LM "Score and Parts", Jonathan Kulp, 2009/05/22
- Re: DOCS: revising LM "Score and Parts", Ian Hulin, 2009/05/23
- Re: DOCS: revising LM "Score and Parts", Jonathan Kulp, 2009/05/23
- Re: DOCS: revising LM "Score and Parts", Henning Plumeyer, 2009/05/24
- Re: DOCS: revising LM "Score and Parts", Henning Plumeyer, 2009/05/24
- Re: DOCS: revising LM "Score and Parts", Werner LEMBERG, 2009/05/24
- Re: DOCS: revising LM "Score and Parts", Werner LEMBERG, 2009/05/24
- Re: DOCS: revising LM "Score and Parts", Jonathan Kulp, 2009/05/25
- Re: DOCS: revising LM "Score and Parts", Henning Plumeyer, 2009/05/25
- Re: DOCS: revising LM "Score and Parts", Jonathan Kulp, 2009/05/25