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

Re: makefile changes: make stops on error immediately




I vote for environment variable signaling errors
or whatever else...

It is not good to have an incomplete build while you believe it is.
It is also no good to stop when you are not supposed to,
like if some rules are not defined. For example
make pristine
does not work anymore.

Cheers,
Mihajlo

>
> For what it's worth, I agree, but I suspect that David won't.
>
> We've talked about this a few months ago.  If possible I would make
> the build stop and and your screen flash hot pink when build errors
> are detected.  :)  David will tell you that he finds it frustrating
> when some part of the source tree that you may not need keeps your
> build from being successful.
>
> As an alternate we discussed the idea of having make set an
> environment variable when it encounters and error and the last make
> target would interpret this error and print something like:
>
> *** WARNING:  Errors were encountered.  Your build may be incomplete.
>
> But we didn't talk about if and how one might implement this.
>
> Cheers,
>
> -Matt
>
> On Sep 20, 2007, at 10:53 AM, Mark M. Ito wrote:
>
>> I have checked in some changes to some of the high-level makefiles
>> so that when a series of directories are built, make will terminate
>> as soon as an error is detected in any one of the directories. I
>> think this is the behavior we want; let me know if you disagree.
>>
>> I may not have gotten them all. Let me know if you find some that
>> need the change (assuming you agree with it).
>>
>>
>
>