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: Jonathan Kulp
Subject: Re: DOCS: revising LM "Score and Parts"
Date: Fri, 22 May 2009 21:41:33 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090409)

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.

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




reply via email to

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