cvs commit: src/usr.sbin/config main.c

Ruslan Ermilov ru at FreeBSD.org
Fri Apr 22 21:46:49 PDT 2005


On Fri, Apr 22, 2005 at 03:13:34PM -0600, Warner Losh wrote:
[...]
> > Nope.  We only regenerate .depend when its dependencies are
> > changed.  For bsd.prog.mk, this means that .depend is only
> > regenerated when some of ${SRCS} are changed (but this does
> > NOT cover headers these ${SRCS} include, and some of these
> > headers may disappear).
> > 
> > To put it differently: when a header disappears, the breakage
> > is not at the "make depend" stage (which doesn't do anything),
> > but at a later "make all" stage.
> > 
> > I personally fail to see how this can be solved...  :-(
> 
> If make depend rebuilds the .depend file, then make depend && make
> will work.
> 
Correct, but "make depend" followed by "make depend" shouldn't
rebuild the .depend file, so .depend file should depend on
something too.  ;)


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20050423/ae44450c/attachment.bin


More information about the cvs-src mailing list