Bill Sommerfeld <sommerfeld at sun.com> writes:

> On Tue, 2009-02-03 at 16:32 -0800, Mike Kupfer wrote:
> > Rainer suggested that it would be good for "make clobber" to get the
> > tree as close to a pristine condition as possible, which argues for
> > deleting directories.  So, for example, his patch introduces a
> > CLOBBERDIRS variable to go along with CLOBBERFILES.
> 
> Does this proposed change use rmdir or rm -rf to delete elements of
> CLOBBERDIRS?

In general, it uses rmdir -p, with the exception of
$SRC/cmd/ptools/Makefile.ptool, which has this comment:

# We cannot use rmdir here, since $(SUBDIRS) contain .make.state files even
# after make clean

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University

Reply via email to