Subject: Re: `make UPDATE=1 build' fails in DHCP code
To: Samuel Hornus\[Isobel\] <Samuel.Hornus@crans.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 06/30/2001 18:18:51
On Sat, Jun 30, 2001 at 02:41:44AM +0200, Samuel Hornus[Isobel] wrote:
>
>
> MESSAGE*S* FORWARDED TO THE LIST BECAUSE IT MAY ANSWER OTHER'S
> QUESTIONS...
>
> On Fri, 29 Jun 2001, Launey Thomas wrote:
>
> > Could it be that your .depend files are out-of-date?
> >
> > Try something like
> >
> > cd /usr/src/usr.sbin/dhcp/dst
> > make cleandist
> >
> > and then
> >
> > cd /usr/src
> > make UPDATE=1 build
> >
> > Of course, there may be other .depend files that are out-of-date, but
> > then it should fail somewhere else.
> >
> > Although it is a bit of an overkill, I typically blow away all .depend
> > files (using find) after doing a CVS update and before "make obj".
> >
> > Hope this helps.
>
> Sure, it works !
>
> Thanks Thomas, Ivar and Launey.
>
> what is the *precise* role of .depend files ?
They're used by make to know what needs to be rebuild or not when a file
change.
> A better formulation would be :
> where is .depend file's role documented ?
man make.
--
Manuel Bouyer <bouyer@antioche.eu.org>
--