From owner-cvs-all@FreeBSD.ORG Sun Jan 22 18:26:33 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.ORG Delivered-To: cvs-all@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6EB416A41F; Sun, 22 Jan 2006 18:26:33 +0000 (GMT) (envelope-from fjoe@neo.samodelkin.net) Received: from neo.samodelkin.net (samodelkin.net [195.62.0.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 166D243D45; Sun, 22 Jan 2006 18:26:33 +0000 (GMT) (envelope-from fjoe@neo.samodelkin.net) Received: by neo.samodelkin.net (Postfix, from userid 1000) id 5BC6E17019; Mon, 23 Jan 2006 00:26:49 +0600 (NOVT) Date: Mon, 23 Jan 2006 00:26:49 +0600 From: Max Khon To: "M. Warner Losh" Message-ID: <20060122182649.GB97629@samodelkin.net> References: <20060115.231029.62233420.imp@bsdimp.com> <43CB42A9.8090601@samsco.org> <20060116083922.GD81316@ip.net.ua> <20060116.092610.122288991.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060116.092610.122288991.imp@bsdimp.com> User-Agent: Mutt/1.4.2i 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 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jan 2006 18:26:33 -0000 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