help-make
[Top][All Lists]
Advanced

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

4.1 recipe for target failed message


From: Karl Berry
Subject: 4.1 recipe for target failed message
Date: Sun, 12 Oct 2014 23:43:05 GMT

Hi Paul and all,

make 4.1 now outputs lines like:
./Common.mak:144: recipe for target 'whatever' failed 

which is likely to be immediately followed by a line like:
make: [whatever] Error 1 (ignored)  

I can see that the two lines don't have exactly the same information,
but for my human-reading purposes, I'd rather not take up two precious
lines of the display just reporting that a command failed (in addition
to the "real" error message from the command).  Even more, I don't want
M-x next-error to go visiting my Makefiles for something that I fully
expect to happen and is a routine part of the process.

On the other hand, I don't much want to use make -s and omit all such
information.  Looking at the source, I see no other approach as things
stand.

Any chance for some kind of control over this in the next release?  I'm
not sure exactly what would be suitable.  Omit the new line if errors
are being ignored?  A new .CONTROL_TARGET that says not to output those
new lines, perhaps just for specified targets, a la .PHONY?

Please let me know if there is something else to do, of course.

Thanks,
Karl



reply via email to

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