Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jan 2001 12:49:33 -0600
From:      Jeremy Shaffner <jeremy@external.org>
To:        "Paul A. Howes" <pahowes@fair-ware.com>, ports@freebsd.org
Subject:   Re: Question about the "make clean" target..
Message-ID:  <20010114124933.P5073@external.org>
In-Reply-To: <BCEFKOJHNDEAJONMKMHEMEBFCGAA.pahowes@fair-ware.com>; from pahowes@fair-ware.com on Sun, Jan 14, 2001 at 01:33:30PM -0500
References:  <BCEFKOJHNDEAJONMKMHEMEBFCGAA.pahowes@fair-ware.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jan 14, 2001 at 01:33:30PM -0500, Paul A. Howes wrote:
> All-
> 
> It appears that when I perform a "make clean" for a given port, this target
> is executed for all of the dependencies of that port.  I was under the
> impression that "make clean-depends" was used for this purpose.  Am I wrong?

The clean target also calls clean-depends unless NOCLEANDEPENDS is
defined.

> Also, The Handbook refers to a "make distclean" target for ports, which I do
> not see listed in the "/usr/ports/Mk/bsd.port.mk" makefile.  Was this target
> deprecated at some earlier point in time?

It still exists.  distclean cleans the port, deletes $DISTFILES from
$DISTDIR, then clean-depends.  I have a patch (PR #23602) that will
also recursively distclean if DISTCLEANDEPENDS is defined.


-- 

---------------------------------------------------------------------
Jeremy Shaffner                         | This space for rent.
jeremy@external.org                     | $ grep happiness life
http://www.external.org/~jeremy/pgp.key | FreeBSD: The Power to Serve


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?20010114124933.P5073>