Subject: Re: OBJDIRs that don't exist, in bsd.obj.mk
To: Andrew Brown <atatat@atatdot.net>
From: Todd Vierling <tv@wasabisystems.com>
List: current-users
Date: 02/15/2002 10:29:25
On Thu, 14 Feb 2002, Andrew Brown wrote:

: >: >It only requires you to create one directory; what's the big deal?  8-)
: >: >If you want to nuke the contents without deleting the directory, simply do
: >: >"rm -r -f /path/to/objdirs/*" rather than "rm -r -f /path/to/objdirs".
: >:
: >: actually...that'll "fail" if /path/to/objdirs is a nfs mount point.
: >: but i repeat myself.
: >
: >No, the latter case will fail -- and the latter case is the one I am saying
: >is the *worse* of the two.
:
: yes, the latter case will fail.  sorry, i wasn't clear.
: unfortunately, the lastter case is exactly what build.sh uses to clean
: out the objdir (and destdir).

build.sh doesn't delete the objdir, because there are too many different
possibilities about where the objdir(s) are.  It relies on the top-level
cleandir to do that job.

In this case, the user is manually deleting the objdir tree (including the
top-level directory).

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  Wasabi & NetBSD:  Run with it.
-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/