Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Nov 2000 00:35:27 -0600
From:      David Kelly <dkelly@HiWAAY.net>
To:        stable@FreeBSD.ORG
Subject:   cd /usr/ports; make clean
Message-ID:  <200011190635.eAJ6ZRS94516@grumpy.dyndns.org>

next in thread | raw e-mail | index | archive | help
I'm sure to be off my rocker to suggest something like this 2 days 
before -RELEASE, but sometimes I don't clean up after installing a port 
and out of laziness simply do "make clean" from the /usr/ports/ 
directory. Takes forever. And got to thinking about alternatives.

# find /usr/ports -type d -name work -print -execdir make clean \; -prune

is much faster than "make clean" from the top. It seems to work OK if a
clean target is put in /usr/ports/Makefile just prior to the .include
<bsd.port.subdir.mk>


--
David Kelly N4HHE, dkelly@hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.




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?200011190635.eAJ6ZRS94516>