Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Dec 1998 11:47:45 -0800
From:      Matthew Hunt <mph@pobox.com>
To:        Oleg Ogurok <oleg@ogurok.com>, questions@FreeBSD.ORG
Subject:   Re: /usr/ports/distfiles/ cleanup.
Message-ID:  <19981218114745.B1249@wopr.caltech.edu>
In-Reply-To: <Pine.BSF.4.05.9812172011000.5241-100000@ogurok.com>; from Oleg Ogurok on Thu, Dec 17, 1998 at 08:23:55PM -0500
References:  <Pine.BSF.4.05.9812172011000.5241-100000@ogurok.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 17, 1998 at 08:23:55PM -0500, Oleg Ogurok wrote:

> Is there any command to clean up this directory? I've been doing this
> manually all the time.

"make distclean" in a port's directory will do a "make clean" and also
remove the distfiles from /usr/ports/distfiles.

More generally, "make distclean" in /usr/ports will do that for all
of the ports.

However, it is slow.  "make" has to parse a lot of Makefiles to do the
work.  So if you just want to nuke everything in /usr/ports/distfiles,
then "rm" is probably a more efficient solution.

-- 
Matthew Hunt <mph@pobox.com> * UNIX is a lever for the intellect. -J.R. Mashey
http://www.pobox.com/~mph/pgp.key for PGP public key 0x67203349.

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



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