Date: Sat, 23 Apr 2005 07:45:31 +0300 From: Ruslan Ermilov <ru@FreeBSD.org> To: Warner Losh <imp@bsdimp.com> Cc: marcel@xcllnt.net Subject: Re: cvs commit: src/usr.sbin/config main.c Message-ID: <20050423044531.GA10314@ip.net.ua> In-Reply-To: <20050422.151334.08362499.imp@bsdimp.com> References: <20050422200341.GA23926@ip.net.ua> <1b042838f6396ae9665fcb2f41f1c9a7@xcllnt.net> <20050422201615.GD23926@ip.net.ua> <20050422.151334.08362499.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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@FreeBSD.org
FreeBSD committer
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)
iD8DBQFCadLrqRfpzJluFF4RAkKgAKCZOVoW/fdfWO4jyx6yTvibEfzhdwCffjsL
rCn2f186qCLxnC17K2dPnS8=
=Qv63
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050423044531.GA10314>
