Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Mar 2003 15:36:40 -0800 (PST)
From:      Philip Hallstrom <philip@adhesivemedia.com>
To:        Brian Henning <b1henning@hotmail.com>
Cc:        freebsd <freebsd-questions@FreeBSD.ORG>
Subject:   Re: make
Message-ID:  <20030318153519.T71664@tigger.alkinetworks.com>
In-Reply-To: <OE14Xq6f9idlhAqi2AV0000fdec@hotmail.com>
References:  <OE14Xq6f9idlhAqi2AV0000fdec@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Greetings,
> I have a silly question..
> what is the difference between the following commands:
>
> cd /usr/ports/mail/imap-uw && make && make install

runs cd ...
if previous command succeeded runs make
if previous command succeeded runs make install

> cd /usr/ports/mail/imap-uw ; make ; make install

runs cd ...
runs make
runs make install

(regardless of previous success -- meaning the cd command could fail and
it would run make from whatever directory you are currently in)

> cd /usr/ports/mail/imap-uw && make install clean

runs cd ...
if previous command succeeded runs make install clean

(which will build the port, install it, and then clean out the working
directory)

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?20030318153519.T71664>