On 17/06/2011 2:11 PM, Graham Percival wrote:
On Fri, Jun 17, 2011 at 06:32:22PM +0100, Phil Holmes wrote:
----- Original Message ----- From: "Graham Percival"
<gra...@percival-music.ca>
with my memory of recent discussions, I know to look in
/home/gperciva/src/lilypond/build/out/lybook-db/snippet-names--25272072.log

This kind of issue prompted my suggestion about gathering the
logfiles in a consistent place.

Saying "look at one of the snippet-names--12345687.log files" is
not the best solution.

I don't think it's likely that we'll be able to prompt people to
look there as a result of an error message from make,

I do think it's likely.

Have you tried my suggestion of using || ?  If it didn't work,
then how precisely did it not work?

- Graham


You suggest:
Again, on the shell, it would be something like this:
  make ...blah... || echo "build failed" && tail logfile
but there might be a nicer way to do it.

but then when blah fails, make will not stop, since the return status from echo && tail is a success (assuming the log file exists). How would you return failure and force make to stop?

--
Julien


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

Reply via email to