From owner-freebsd-stable Wed Jul 19 16:57: 7 2000 Delivered-To: freebsd-stable@freebsd.org Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226]) by hub.freebsd.org (Postfix) with ESMTP id 4E98037BE22 for ; Wed, 19 Jul 2000 16:57:03 -0700 (PDT) (envelope-from marcel@cup.hp.com) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel3.hp.com (Postfix) with ESMTP id 0104E401D; Wed, 19 Jul 2000 16:56:59 -0700 (PDT) Received: from cup.hp.com (gauss.cup.hp.com [15.28.97.152]) by adlmail.cup.hp.com (8.9.3 (PHNE_18979)/8.9.3 SMKit7.02) with ESMTP id QAA26046; Wed, 19 Jul 2000 16:56:59 -0700 (PDT) Message-ID: <3976404B.B566470F@cup.hp.com> Date: Wed, 19 Jul 2000 16:56:59 -0700 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Mark Ovens Cc: stable@FreeBSD.ORG Subject: Re: Question about -DNOCLEAN when building the world References: <20000720000915.B239@parish> <3976389A.A76FD2CD@cup.hp.com> <20000720005032.C239@parish> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mark Ovens wrote: > > I think I understand, but if /usr/obj has to be created (because it > didn't exist) does that not guarantee that it *is* clean? Or does > make(1) have no way of knowing that /usr/obj has been newly created? I didn't see an advantage of adding tests to see if files/directories actual exist before removing them. We're not saving precious time by doing that. We could prevent doing a recursive 'make clean' for all the directories if the object tree is empty. The side-effect we now have is that the source tree is cleaned is the object directory does not exist... -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message