Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Nov 2000 10:20:40 +0100
From:      Maxime Henrion <mux@qualys.com>
To:        David Kelly <dkelly@HiWAAY.net>, stable@freebsd.org
Subject:   Re: cd /usr/ports; make clean
Message-ID:  <3A179B68.D34A8586@qualys.com>
References:  <200011190635.eAJ6ZRS94516@grumpy.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
That's because  the make clean in /usr/ports follows the dependencies which
makes it clean a lot of ports several times...
What you can try is to do a make -DNOCLEANDEPENDS clean.

Regards,
Maxime Henrion

David Kelly wrote:

> 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

--
Don't be fooled by cheap finnish imitations ; BSD is the One True Code





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?3A179B68.D34A8586>