Re: catching build problems

2000-03-31 Thread Tom Tromey
>> How do I override the rule for entering one of them? Alexandre> I don't think you can override it :-( You can rewrite the entire rule, but of course that will break in a future version. Tom

Re: catching build problems

2000-03-31 Thread Alexandre Oliva
On Mar 31, 2000, "Lars J. Aas" <[EMAIL PROTECTED]> wrote: > How do I override the rule for entering one of them? I don't think you can override it :-( -- Alexandre OlivaEnjoy GuaranĂ¡, see http://www.ic.unicamp.br/~oliva/ Cygnus Solutions, a Red Hat companyaoliva@{redhat, cygnus}.co

Re: catching build problems

2000-03-31 Thread Lars J. Aas
On Fri, Mar 31, 2000 at 01:19:54PM -0300, Alexandre Oliva wrote: : On Mar 31, 2000, "Lars J. Aas" <[EMAIL PROTECTED]> wrote: : : > : The trap is fine, but the `:=' syntax is far from portable. : : > Without it, wouldn't the variable become recursive? : : Yep. That's why you can't do it like th

Re: catching build problems

2000-03-31 Thread Alexandre Oliva
On Mar 31, 2000, "Lars J. Aas" <[EMAIL PROTECTED]> wrote: > : The trap is fine, but the `:=' syntax is far from portable. > Without it, wouldn't the variable become recursive? Yep. That's why you can't do it like that :-( It might work to set MAKE_TRAP as you suggested, and then use $(MAKE_TR

Re: catching build problems

2000-03-31 Thread Lars J. Aas
On Fri, Mar 31, 2000 at 12:24:10PM -0300, Alexandre Oliva wrote: : On Mar 31, 2000, "Lars J. Aas" <[EMAIL PROTECTED]> wrote: : : > On Fri, Mar 17, 2000 at 01:30:49PM +0100, Lars J. Aas wrote: : : > : MAKE := trap "cat $(top_srcdir)/troubleshooting" 1 2 15; $(MAKE) MAKE="$(MAKE)" : : > Does anyo

Re: catching build problems

2000-03-31 Thread Alexandre Oliva
On Mar 31, 2000, "Lars J. Aas" <[EMAIL PROTECTED]> wrote: > On Fri, Mar 17, 2000 at 01:30:49PM +0100, Lars J. Aas wrote: > : MAKE := trap "cat $(top_srcdir)/troubleshooting" 1 2 15; $(MAKE) MAKE="$(MAKE)" > Does anyone know if setting up a trap on make like described below > will fail on some p

Re: catching build problems

2000-03-31 Thread Lars J. Aas
I never got any response on this one, so I'm trying [EMAIL PROTECTED] too this time. Does anyone know if setting up a trap on make like described below will fail on some platform? Lars J On Fri, Mar 17, 2000 at 01:30:49PM +0100, Lars J. Aas wrote: : I just set up the following line in the bas