From owner-freebsd-ports Wed Aug 8 10:12: 1 2001 Delivered-To: freebsd-ports@freebsd.org Received: from localhost.localdomain (host68.207.55.120.aadsl.com [207.55.120.68]) by hub.freebsd.org (Postfix) with ESMTP id AF0DE37B40B for ; Wed, 8 Aug 2001 10:11:59 -0700 (PDT) (envelope-from swear@aa.net) Received: (from jojo@localhost) by localhost.localdomain (8.11.3/8.11.3) id f78HE5563463; Wed, 8 Aug 2001 10:14:05 -0700 (PDT) (envelope-from swear@aa.net) X-Authentication-Warning: localhost.localdomain: jojo set sender to swear@aa.net using -f To: freebsd-ports@freebsd.org Subject: "make clean" versus "clean-depends" From: swear@aa.net (Gary W. Swearingen) Date: 08 Aug 2001 10:14:05 -0700 Message-ID: Lines: 12 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I'm researching for PR docs/29517 and my poor Makefile-reading ability tells me (from "/usr/ports/Mk/bsd.port.mk") that "clean" and "clean-depends" are the same thing (despite what their decriptions imply), unless you set the undocumented NOCLEANDEPENDS envar. Could this be true? The handbook recommends "make clean" in /usr/ports which is deadly slow. I'm proposing to add the very-much faster way of deleting the "work" dirs with find find /usr/ports -depth -name work -exec rm -rf {} \; but if someone knows a make target that does the same thing, I'd like to know about it. (Recommending use of an undocumented, hard-to- remember envar, is a poor choice, IMO. A good target might be OK.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message