[Top][All Lists]

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

Re: Problem building doc section without built LilyPond

From: Urs Liska
Subject: Re: Problem building doc section without built LilyPond
Date: Thu, 18 Apr 2013 15:49:04 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5

Am 18.04.2013 15:10, schrieb Trevor Daniels:
Urs, you wrote Monday, April 15, 2013 5:07 PM

OK, what the heck:
Here is a patch trying to fix the lilypond-book issue in doc-section.sh,
along with a comment in the CG.
If I have time I'll look into the other BUILD_DIRECTORY dependencies.
And if you can confirm my impression I would also make a patch removing
cg-section.sh and the reference in the CG.
I applied this patch and tried to execute the script within the Bash shell
of MinGW under Windows Vista, with this result:

address@hidden ~/lilypond-git (urs-lilypond-book)
$ scripts/auxiliar/doc-section.sh notation pitches
$LILYPOND_GIT was not set; auto-detected source tree at 
$BROWSER not set; using firefox as default
/c/Users/Trevor/lilypond-git/build did not exist; check your setting of 

I don't have a LilyPond build directory under Windows, of course.
When I started to try that out, I manually added that dir (and forgot about that fact). This started to solve things although it essentially propagated the errors to the next stage when the script looks for some more files. This error doesn't have anything to do with the OS, but with the fact that the script relies on an existing LilyPond build (which it shouldn't)

It's several years since I looked at this, but the script now is quite
unrecognisable from the one I wrote originally for Windows.  It seems
it's been hijacked to work under Linux without concern for Windows
users.  I guess that's the reason I use my own script now.

Not sure how we proceed.
I will look into it (when I have time) and see if I can manage to make the script independent from a present build.
It's just an interesting topic and I'll learn something from it.
I suggest you can just wait if I provide something new.
The default location of lilypond-book
under Windows Vista is
C:/Program Files/LilyPond/usr/bin/lilypond-book.py
On Linux I found the location by the result of `which lilypond-book`.
Would that work on Windows too?



reply via email to

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