From owner-freebsd-questions@FreeBSD.ORG Sat Jan 31 05:26:17 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9464516A4CE for ; Sat, 31 Jan 2004 05:26:17 -0800 (PST) Received: from mxfep01.bredband.com (mxfep01.bredband.com [195.54.107.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1958B43D31 for ; Sat, 31 Jan 2004 05:26:15 -0800 (PST) (envelope-from peder.blom@bredband.net) Received: from Hecate.my.hell ([213.113.217.172] [213.113.217.172]) by mxfep01.bredband.com with SMTP id <20040131132613.KAHY4345.mxfep01.bredband.com@Hecate.my.hell>; Sat, 31 Jan 2004 14:26:13 +0100 Date: Sat, 31 Jan 2004 14:25:36 +0100 From: Peder Blom To: Rishi Chopra Message-Id: <20040131142536.01dcc203.peder.blom@bredband.net> In-Reply-To: <401B3F6E.60002@cal.berkeley.edu> References: <401B3B5D.1000302@cal.berkeley.edu> <200401302326.25307.racerx@makeworld.com> <200401302329.37549.racerx@makeworld.com> <401B3F6E.60002@cal.berkeley.edu> X-Mailer: Sylpheed version 0.9.8a (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: Make Syntax X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2004 13:26:17 -0000 On Fri, 30 Jan 2004 21:38:54 -0800 Rishi Chopra wrote: > Is there any way to run a 'clean' command to remove 'WORK' directories > > from the ports tree after the fact? > If you want to clean a specific port (and its dependencies) just do a 'make clean' in its directory, or if you want to clean the whole tree do it in the ports base directory. Check 'man ports' ,there are a number of other targets that might come in handy at times. E.g. you can do a 'make extract' to get the ports work directory, browse through readme's and other information before installing, then do a 'make install clean'.