"Phil Holmes" <em...@philholmes.net> writes:

> Again, this is one I'm not sure is a bug or not - I can't find it in
> the bug list.
>
> make runs lilypond with a number of command lines like the one below:
>
> [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?

Uh, there is something called a manual for figuring out what the
intended behavior might be.

`-o,--output=FILE or FOLDER'
     Set the default output file to FILE or, if a folder with that name
     exists, direct the output to FOLDER, taking the file name from the
     input file.  The appropriate suffix will be added (e.g. `.pdf' for
     pdf) in both cases.


In any case, a complex differentiated behavior like this is unlikely to
come about by accident, so the first thing to check is to see what the
documented intent might have been.  And it matches the behavior quite
accurately.

-- 
David Kastrup


_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to