ports/64037 and the alleged && -> ; failure from March 2002
fuyuki at nigredo.org
Fri Mar 12 18:26:25 PST 2004
At Sat, 13 Mar 2004 01:28:07 +0100,
Matthias Andree <ma at 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.
More information about the freebsd-ports