Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2000 16:56:59 -0700
From:      Marcel Moolenaar <marcel@cup.hp.com>
To:        Mark Ovens <mark@ukug.uk.freebsd.org>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Question about -DNOCLEAN when building the world
Message-ID:  <3976404B.B566470F@cup.hp.com>
References:  <20000720000915.B239@parish> <3976389A.A76FD2CD@cup.hp.com> <20000720005032.C239@parish>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3976404B.B566470F>