From owner-freebsd-questions Mon Jan 14 18:16:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id 1406E37B416 for ; Mon, 14 Jan 2002 18:16:29 -0800 (PST) Received: from trittico.fiddi.com ([12.228.145.237]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020115021626.FSCH3578.rwcrmhc52.attbi.com@trittico.fiddi.com> for ; Tue, 15 Jan 2002 02:16:26 +0000 Date: Mon, 14 Jan 2002 18:16:25 -0800 (PST) From: Dave Runkle X-X-Sender: dave@trittico.fiddi.com To: freebsd-questions@FreeBSD.ORG Subject: RE: make clean and make install clean In-Reply-To: <002e01c19d68$29e026c0$0401a8c0@daveabit> Message-ID: <20020114180330.Q26882-100000@trittico.fiddi.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 15 Jan 2002, Rakesh Prajapati wrote: > I know what make and make install does , I want to know what's the > "clean" word for? My assumption is it will clean/remove all the > intermediate .o or object files etc after the installation. On Mon, 14 Jan 2002, David Powers wrote: > It will clean the work directory that the port uses to do the build. Rakesh, take a look inside a directory that you build a port from. There are the files that are there originally, the information files that instruct how to build the port, and after the port itself is downloaded and extracted, the source files are in a directory structure underneath "work". When you make clean, it removes that work directory, and so really it cleans up after itself. There are a lot of 'if's with that. You can clean an individual port or all ports or a combination of source files and the downloaded tar files, etc., with various commands using make(1) and friends. There is a lot more (and better!) info in the various manual pages, including make(1), ports(7), portsclean(1) and others, including the Handbook. If you haven't discovered portupgrade(1), give it a look. It handles a lot of the little details that make life with ports simpler. Dave -- FreeBSD 5.0-CURRENT 6:03PM up 22 days, 11:40, 9 users, load averages: 1.67, 1.40, 1.29 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message