From owner-freebsd-current Mon Oct 28 10:45:00 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA19281 for current-outgoing; Mon, 28 Oct 1996 10:45:00 -0800 (PST) Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA19272 for ; Mon, 28 Oct 1996 10:44:55 -0800 (PST) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.7.5/8.7.3) id KAA19478; Mon, 28 Oct 1996 10:42:23 -0800 (PST) From: "Rodney W. Grimes" Message-Id: <199610281842.KAA19478@GndRsh.aac.dev.com> Subject: Re: -current failed In-Reply-To: <3273C758.3F54BC7E@hiwaay.net> from Steve Price at "Oct 27, 96 02:34:32 pm" To: sprice@hiwaay.net (Steve Price) Date: Mon, 28 Oct 1996 10:42:22 -0800 (PST) Cc: chuckr@glue.umd.edu, richardc@CSUA.Berkeley.EDU, current@freebsd.org X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Chuck Robey wrote: > > > > > > Doing a make world automatically does the make obj for you. Make cleandir > > kills them. If there isn't a obj directory avaialble when the make > > starts, then the obj's fall into the source directories. One very common > > error is the do make clean, and think your objs are really clean. They > > aren't, the .depend files survive, and cause grief. > > > > Attached is a patch to /usr/share/mk/bsd.dep.mk that I use to get rid > of the .depend file when make clean is done. I didn't commit it b/c I > don't think everybody (or even the majority) wants this, but you > might give it a try if you like the functionality. Ugly hack, that is what ``make cleandir'' does for you, thus your patch is not needed. ``make cleandist'' tears done and rebuilds the obj tree and links. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation, Inc. Reliable computers for FreeBSD