Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jan 2006 00:26:49 +0600
From:      Max Khon <fjoe@samodelkin.net>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        scottl@samsco.org, src-committers@FreeBSD.ORG, flz@FreeBSD.ORG, cvs-src@FreeBSD.ORG, obrien@FreeBSD.ORG, ru@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.sbin/config main.c
Message-ID:  <20060122182649.GB97629@samodelkin.net>
In-Reply-To: <20060116.092610.122288991.imp@bsdimp.com>
References:  <20060115.231029.62233420.imp@bsdimp.com> <43CB42A9.8090601@samsco.org> <20060116083922.GD81316@ip.net.ua> <20060116.092610.122288991.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

On Mon, Jan 16, 2006 at 09:26:10AM -0700, M. Warner Losh wrote:

> The problem with removing .depend in the depend target happens too
> late.  Before we get to the meat of the depend target, the error
> happens.  The error happens, btw, when a .h file is deleted, which the
> .depend file depends on...  There might be other clever ways around this.

GNU make is able to regenerated Makefile and any included files
if it founds rules for rebuilding them. I have a patch for BSD make
that implements exactly this behaviour.

/fjoe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060122182649.GB97629>