Skip site navigation (1)Skip section navigation (2)
Date:      08 Aug 2001 10:14:05 -0700
From:      swear@aa.net (Gary W. Swearingen)
To:        freebsd-ports@freebsd.org
Subject:   "make clean" versus "clean-depends"
Message-ID:  <qmelqmqxsy.lqm@localhost.localdomain>

next in thread | raw e-mail | index | archive | help
I'm researching for PR docs/29517 and my poor Makefile-reading ability
tells me (from "/usr/ports/Mk/bsd.port.mk") that "clean" and
"clean-depends" are the same thing (despite what their decriptions
imply), unless you set the undocumented NOCLEANDEPENDS envar.

Could this be true?  The handbook recommends "make clean" in
/usr/ports which is deadly slow.  I'm proposing to add the very-much
faster way of deleting the "work" dirs with find
    find /usr/ports -depth -name work -exec rm -rf {} \;
but if someone knows a make target that does the same thing, I'd
like to know about it. (Recommending use of an undocumented, hard-to-
remember envar, is a poor choice, IMO.  A good target might be OK.)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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