[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Macro question

From: Eli Zaretskii
Subject: Re: Macro question
Date: Wed, 09 Dec 2015 20:17:43 +0200

> From: Gisle Vanem <address@hidden>
> Date: Wed, 9 Dec 2015 18:20:47 +0100
> Eli Zaretskii wrote:
> > The Windows shell understands || and && between 2 commands.  I think
> > you already know that, so I'm quite sure I'm missing something here,
> > because that's the first thing I'd try.
> There is no Windows shell (cmd nor 4nt) involved here. I don't
> have any 'SHELL' in the Makefile (nor environment) and sh is on PATH.

If you use these characters in the command line, Make will invoke the
shell.  Something like

  link .... && cat .... && rm ....

will cause the command to be invoked via the shell, and then I think
you will get what you want.  Or maybe I'm missing something.

> Isn't 'sh' supposed to be used then?

Yes, and sh also supports that, of course.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]