Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 2000 23:03:05 -0800
From:      James <j@evilcode.com>
To:        stable@FreeBSD.ORG
Subject:   Re: cd /usr/ports; make clean
Message-ID:  <20001118230305.A83848@evilcode.com>
In-Reply-To: <200011190635.eAJ6ZRS94516@grumpy.dyndns.org>; from dkelly@HiWAAY.net on Sun, Nov 19, 2000 at 12:35:27AM -0600
References:  <200011190635.eAJ6ZRS94516@grumpy.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 19, 2000 at 12:35:27AM -0600, David Kelly wrote:
> # 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>

Or for a much faster solution:
find /usr/ports -type d -name work -prune -print -exec rm -r {} \;


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?20001118230305.A83848>