From owner-cvs-src@FreeBSD.ORG Mon Jan 23 04:37:59 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.ORG Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDF5516A43B; Mon, 23 Jan 2006 04:37:59 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 477F943D48; Mon, 23 Jan 2006 04:37:59 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.3/8.13.3) with ESMTP id k0N4a5Oq089865; Sun, 22 Jan 2006 21:36:05 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 22 Jan 2006 21:36:21 -0700 (MST) Message-Id: <20060122.213621.11822524.imp@bsdimp.com> To: fjoe@samodelkin.net From: "M. Warner Losh" In-Reply-To: <20060122182649.GB97629@samodelkin.net> References: <20060116083922.GD81316@ip.net.ua> <20060116.092610.122288991.imp@bsdimp.com> <20060122182649.GB97629@samodelkin.net> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Sun, 22 Jan 2006 21:36:10 -0700 (MST) 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-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jan 2006 04:37:59 -0000 In message: <20060122182649.GB97629@samodelkin.net> Max Khon writes: : 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. I'd be interested in this... Warner