Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jan 2001 10:45:00 +0200
From:      Peter Pentchev <roam@orbitel.bg>
To:        "Donald J . Maddox" <dmaddox@sc.rr.com>
Cc:        "Michael C . Wu" <keichii@peorth.iteration.net>, Leif Neland <leifn@neland.dk>, freebsd-ports@freebsd.org
Subject:   Re: make -nodependencies clean?
Message-ID:  <20010103104459.A54743@ringworld.oblivion.bg>
In-Reply-To: <20010103022945.A426@cae88-102-101.sc.rr.com>; from dmaddox@sc.rr.com on Wed, Jan 03, 2001 at 02:29:45AM -0500
References:  <Pine.BSF.4.21.0101030809500.48960-100000@arnold.neland.dk> <20010103012051.D65492@peorth.iteration.net> <20010103022945.A426@cae88-102-101.sc.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 03, 2001 at 02:29:45AM -0500, Donald J . Maddox wrote:
> On Wed, Jan 03, 2001 at 01:20:51AM -0600, Michael C . Wu wrote:
> > On Wed, Jan 03, 2001 at 08:16:26AM +0100, Leif Neland scribbled:
> > | Is it possible for (cd /usr/ports) make clean only clean the port, not its
> > | dependencies? (sp?) 
> > | 
> > | I want to clean the entire ports tree, but eg xfree gets cleaned a zillion
> > | times, because a lot of ports depend on it. I hope it doesnt get all
> > | washed out by all that cleaning...
> > | 
> > | Is there/could there be an option for clean, which only cleaned the
> > | current port?
> > 
> > rm -rf /usr/ports/*/*/work
> 
> Or the more correct version of this:
> 
> # make NOCLEANDEPENDS=yes clean
> 
> :)

Yup, and straight from the ports(7) manpage:

  clean       Remove the expanded source code.  This recurses to dependen-
              cies unless NOCLEANDEPENDS is defined.

G'luck,
Peter

-- 
Nostalgia ain't what it used to be.


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?20010103104459.A54743>