Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Mar 2004 03:56:25 +0100
From:      Oliver Eikemeier <eikemeier@fillmore-labs.com>
To:        Kimura Fuyuki <fuyuki@nigredo.org>
Cc:        ma@dt.e-technik.uni-dortmund.de
Subject:   Re: ports/64037 and the alleged && -> ; failure from March 2002
Message-ID:  <40527859.8030403@fillmore-labs.com>
In-Reply-To: <86oer132k2.wl%fuyuki@nigredo.org>
References:  <20040313002807.GA13745@merlin.emma.line.org> <86oer132k2.wl%fuyuki@nigredo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Kimura Fuyuki wrote:

> At Sat, 13 Mar 2004 01:28:07 +0100,
> Matthias Andree <ma@dt.e-technik.uni-dortmund.de> wrote:
> 
>>I am refuting that claim in Akinori's post.
>>'cd dir && foo' IS a proper use of && in a Makefile.
>>The whole line is a shell command and make doesn't care about the && or
>>; - it's up to the shell to handle it. (I assume make uses a sane shell
>>such as /bin/sh or ksh.)
> 
> Hm, actually I'm not an expert of the BSD make and never know the
> proper way to change directory in a Makefile. I've just blindly
> followed the knu's suggestion to use `;'. Perhaps he will tell you more.

You are free to use whatever you want, in fact bsd.port.mk has both. I
can't see much difference in the general case. They behave differently
when you use a - line or the -i option.

-Oliver



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