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
--zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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). > >=20 > > 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. > >=20 > > I personally fail to see how this can be solved... :-( >=20 > If make depend rebuilds the .depend file, then make depend && make > will work. >=20 Correct, but "make depend" followed by "make depend" shouldn't rebuild the .depend file, so .depend file should depend on something too. ;) Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --zhXaljGHf11kAtnf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCadLrqRfpzJluFF4RAkKgAKCZOVoW/fdfWO4jyx6yTvibEfzhdwCffjsL rCn2f186qCLxnC17K2dPnS8= =Qv63 -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050423044531.GA10314>