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

Max Khon fjoe at samodelkin.net
Sun Jan 22 10:26:34 PST 2006


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


More information about the cvs-src mailing list