From owner-freebsd-questions Thu Apr 18 11:47:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [171.66.112.163]) by hub.freebsd.org (Postfix) with ESMTP id 8FA8937BB08 for ; Thu, 18 Apr 2002 11:44:36 -0700 (PDT) Received: from localhost (localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.11.6/8.11.6) with ESMTP id g3IIcRd17136; Thu, 18 Apr 2002 11:38:27 -0700 (PDT) (envelope-from andrsn@andrsn.stanford.edu) Date: Thu, 18 Apr 2002 11:38:27 -0700 (PDT) From: Annelise Anderson To: Nader Turki Cc: questions@FreeBSD.ORG Subject: Re: make install clean In-Reply-To: Message-ID: 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 Thu, 18 Apr 2002, Nader Turki wrote: > > hi guys, > > i was wondering what's the diff if i do: > > cd /usr/ports/x11/XFree86-4 > make all install clean > > or > > cd /usr/ports/x11/XFree86-4 > make install clean > > > what does "all" do? 'cause i always use "make install clean" but today when > i read the Installing XFree86 in FreeBSD handbook i noticed the "make all > install clean". > The ports "make all" target does everything through build (make all is therefore the same as make build) but it does not install. The install target does make all and make install. So your formulations above are (for ports) equivalent. See man ports. Adding the "clean" target removes what was built (the work directory and its subcontents). I find this formulation a puzzle, since unless you have some variables in /etc/make.conf you want to take effect that make the build different from the default, it's really quicker to just install the binary with pkg_add, since you are, with the clean target, wiping out anything that might be useful to explore in the port's source, documentation that may not be installed, and so forth. Of course it immediately recovers the space. Annelise -- Annelise Anderson Author of: FreeBSD: An Open-Source Operating System for Your PC Available from: BSDmall.com and amazon.com Book Website: http://www.bittreepress.com/FreeBSD/introbook/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message