----- Original Message -----
From: "Graham Percival" <[email protected]>
To: "Phil Holmes" <[email protected]>
Cc: "Bugs" <[email protected]>
Sent: Sunday, February 12, 2012 12:44 PM
Subject: Re: Possible bug
On Sun, Feb 12, 2012 at 12:35:28PM -0000, Phil Holmes wrote:
[path]lilypond -H texidoc -H options -o ./out-www
/home/phil/lilypond-git/input/regression/midi/key-option-all-staves.ly
This is supposed to create the files key-option-all-staves.texidoc
key-option-all-staves.options key-option-all-staves.pdf and
key-option-all-staves.midi. However, if the directory out-www does
not exist, it creates that set of files in the CWD but with the name
out-www (i.e. it loses the root key-option-all-staves).
Bug?
In terms of the build system, I can't think of any case in which
this is possibly the desired behaviour, so yes it's a bug in the
build system.
In terms of lilypond itself, no. Specify -o ./out-www/ if you
want to ensure that it's a directory; otherwise there's no reason
for lilypond to assume that you want a directory out-www/ instead
of a file out-www
- Graham
OK. It's not a bug in the build system - the directory exists. If you do
use -o ./out-www/ (with the trailing slash) it makes no difference - it
still produces files names out-www.pdf, etc.
--
Phil Holmes
_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond