Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Aug 2001 22:08:13 +0300
From:      Vladimir Tchoukharev <chu@gpi.ru>
To:        freebsd-doc@FreeBSD.ORG
Cc:        "Gary W. Swearingen" <swear@aa.net>
Subject:   Re: docs/29517: Handbook missing fast method of cleaning ports.
Message-ID:  <3B718E1C.A1DFC8FA@gpi.ru>
References:  <zju1zjv940.1zj@localhost.localdomain> <3B711DA8.A067D92A@gpi.ru> <ziu1zir0fc.1zi@localhost.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
"Gary W. Swearingen" wrote:
> 
> >
> >   cd /usr/ports && NOCLEANDEPENDS=yes make clean
> >
> > Your way is even faster, I guess, but this one is
> > along the traditional approach.
> 
> Hmmm.  I guess that should be
> 
>    cd /usr/ports && /bin/sh NOCLEANDEPENDS=yes make clean
> 
> so csh users can use it.

Right. Or else

   cd /usr/ports && make -DNOCLEANDEPENDS clean

> But that NOCLEANDEPENDS isn't even documented in the
> /usr/ports/Mk/bsd.port.mk header where the other targets and envars are
> described.  (I'll do a PR on that too.)

It is documented in man 7 ports, but I agree it would not hurt to have
it explicitly described in bsd.port.mk too.

> I like your argument about the traditional approach, but would only like
> it enough for normal use(rs) if it was made into a new target, say
> clean-partial, clean-fast, or clean-work.  Users will be much more
> likely to be able to remember the generic "find" approach to deleting
> the work directories which they probably already know and should learn
> anyway.  It's much easier to remember "work" than "NOCLEANDEPENDS".
> 
> But feel free to refer it to the mailing list or whoever handles this
> PR.  I still don't fully understand how this PR process works.
> 
> BTW, should I consider mail to only me about PRs to be private and
> shouldn't be copied to the public lists without permission?  You
> may repost this.  (Maybe I'll put that in my now-empty signature file.)

It was just by a mistake, sorry.

Best regards,
V. Tchoukharev

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




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