Re: make clean of /usr/ports

2002-10-25 Thread Giorgos Keramidas
On 2002-10-24 20:34, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> On Thu, Oct 24, 2002 at 08:18:14PM -0700, Adam Weinberger wrote:
> > > make NOCLEANDEPENDS=YES distclean
> > >> end of "RE: make clean of /usr/ports" from Don Read <<
> >
> > Install sysutils/portupgrade, then portsclean -C.
>
> rm -rf /usr/ports/*/*/work is probably faster :)

I use a slight variation of this, to avoid hitting the "too long
command line" thing:

# cd /usr/ports
# find . -type d -maxdepth 3 -name work | xargs rm -fr

but you're right.  It is a lot faster...


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: make clean of /usr/ports

2002-10-25 Thread Marcio Merlone
You can make really simple and straigthforward:

cd /usr/ports
find . -type d -name work -exec rm -rf {} \;

done! I belive it is somewhere on FBSD handbook...

David Oleszkiewicz wrote:

I haven't been that good at running make clean after installing my ports
and could like to clean things up now.  I tried running make clean at the
top of the ports tree and it works, it just keeps recursing on
everyones dependencies so ports like autoconf get make clean'ed  a
real lot.  Is there a way to tell the Make to ignore the dependencies.  I
couldn't figure one out from looking at the Make files.

Please cc this address as I am not subscribed to the list.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



--

[ ]'s

--
Marcio Merlone



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: make clean of /usr/ports

2002-10-24 Thread Kris Kennaway
On Thu, Oct 24, 2002 at 08:18:14PM -0700, Adam Weinberger wrote:
> >> (10.24.2002 @ 2008 PST): Don Read said, in 0.8K: <<
> > 
> > On 25-Oct-2002 David Oleszkiewicz wrote:
> > > I haven't been that good at running make clean after installing my ports
> > > and could like to clean things up now.  I tried running make clean at the
> > > top of the ports tree and it works, it just keeps recursing on
> > > everyones dependencies so ports like autoconf get make clean'ed  a
> > > real lot.  Is there a way to tell the Make to ignore the dependencies.  I
> > > couldn't figure one out from looking at the Make files.
> > > 
> > > Please cc this address as I am not subscribed to the list.
> > 
> > make NOCLEANDEPENDS=YES distclean
> >> end of "RE: make clean of /usr/ports" from Don Read <<
> 
> Install sysutils/portupgrade, then portsclean -C.

rm -rf /usr/ports/*/*/work is probably faster :)

Kris



msg06078/pgp0.pgp
Description: PGP signature


RE: make clean of /usr/ports

2002-10-24 Thread Jack L. Stone
At 10:08 PM 10.24.2002 -0500, Don Read wrote:
>
>On 25-Oct-2002 David Oleszkiewicz wrote:
>> I haven't been that good at running make clean after installing my ports
>> and could like to clean things up now.  I tried running make clean at the
>> top of the ports tree and it works, it just keeps recursing on
>> everyones dependencies so ports like autoconf get make clean'ed  a
>> real lot.  Is there a way to tell the Make to ignore the dependencies.  I
>> couldn't figure one out from looking at the Make files.
>> 
>> Please cc this address as I am not subscribed to the list.
>> 
>> 
>
>make NOCLEANDEPENDS=YES distclean
>
>Regards,
>-- 
>Don Read   [EMAIL PROTECTED]

Have you yet tried the utility portupgrade? If so, it has the tool:
#portsclean -DD and does it for you. Neat!

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: make clean of /usr/ports

2002-10-24 Thread Adam Weinberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

>> (10.24.2002 @ 2008 PST): Don Read said, in 0.8K: <<
> 
> On 25-Oct-2002 David Oleszkiewicz wrote:
> > I haven't been that good at running make clean after installing my ports
> > and could like to clean things up now.  I tried running make clean at the
> > top of the ports tree and it works, it just keeps recursing on
> > everyones dependencies so ports like autoconf get make clean'ed  a
> > real lot.  Is there a way to tell the Make to ignore the dependencies.  I
> > couldn't figure one out from looking at the Make files.
> > 
> > Please cc this address as I am not subscribed to the list.
> 
> make NOCLEANDEPENDS=YES distclean
>> end of "RE: make clean of /usr/ports" from Don Read <<

Install sysutils/portupgrade, then portsclean -C.

It's the fastest way.

- -Adam


- --
Adam Weinberger
[EMAIL PROTECTED]
[EMAIL PROTECTED]

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE9uLf2o8KM2ULHQ/0RAs65AKCdfTc/nYBfrZ441vkTMMThQjhxUgCgqeNt
9NkJv4aX7kF+M0m30vTkWQM=
=pSjX
-END PGP SIGNATURE-

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



RE: make clean of /usr/ports

2002-10-24 Thread Don Read

On 25-Oct-2002 David Oleszkiewicz wrote:
> I haven't been that good at running make clean after installing my ports
> and could like to clean things up now.  I tried running make clean at the
> top of the ports tree and it works, it just keeps recursing on
> everyones dependencies so ports like autoconf get make clean'ed  a
> real lot.  Is there a way to tell the Make to ignore the dependencies.  I
> couldn't figure one out from looking at the Make files.
> 
> Please cc this address as I am not subscribed to the list.
> 
> 

make NOCLEANDEPENDS=YES distclean

Regards,
-- 
Don Read   [EMAIL PROTECTED]
-- "Beer is proof that God loves us and wants us to be happy."

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message