Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2002 18:16:25 -0800 (PST)
From:      Dave Runkle <dave@runkle.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   RE: make clean and make install clean
Message-ID:  <20020114180330.Q26882-100000@trittico.fiddi.com>
In-Reply-To: <002e01c19d68$29e026c0$0401a8c0@daveabit>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020114180330.Q26882-100000>