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

_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to