From owner-freebsd-questions Sun Nov 19 19:33:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pmade.org (dsl-att1-118-93.sb.101freeway.net [12.44.118.93]) by hub.freebsd.org (Postfix) with ESMTP id 3CF1F37B663 for ; Sun, 19 Nov 2000 19:33:26 -0800 (PST) Received: from localhost (pjones@localhost) by pmade.org (8.9.3/8.9.3) with ESMTP id TAA47444; Sun, 19 Nov 2000 19:32:33 -0800 (PST) (envelope-from pjones@pmade.org) Date: Sun, 19 Nov 2000 19:32:33 -0800 (PST) From: Peter Jones To: Allan Dib Cc: questions@FreeBSD.ORG Subject: Re: Installing a port In-Reply-To: <3a182715.ca.0@webcentral.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG They both do the same thing. make install will run make(1) and it will atempt to do the install but notice that the software has not yet been build. So, it will do that first then return and do the install. make && make install will tell make only to do the build, since you are running it without a target, and if make exits without any errors your shell will run it again with the install target and make will just do the install. Thus, that last command is really running make twice. There are many other targets that you can use, like make fetch will fetch the source code for the port, and make patch will apply the FreeBSD patches, both of these targets are called when you run 'make' automaticly. On Mon, 20 Nov 2000, Allan Dib wrote: > Hiya everyone, > > I wonder if anyone can answer what is probably a very basic question. I've been > reading some BSD documentation and often it will say in regard to installing > a port something like "simply change /usr/ports/the-port-you-want-to-install > and run 'make install'". I have always used the command "make install". However > lately I've seen a lot of documentation say to use the command 'make && make > install' what's the difference and which should one use?? > > Best Regards, > > Allan. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- ....................................................................... : Peter Jones : Unix Geek - Four Wheeling : : pjones@pmade.org : Code Writing - Jesus Freak : :....................................:................................: :echo er|perl -0160 -pe ';$;=ord$/;s;^;"\U$/".chr($\;-11).chr$\;+4;e;': :.....................................................................: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message