[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make: how to selectively handle exit status of commands
From: |
Stan Brown |
Subject: |
Re: make: how to selectively handle exit status of commands |
Date: |
Sat, 21 Aug 2004 10:10:07 -0400 |
User-agent: |
MicroPlanet-Gravity/2.60.2060 |
"Paul Jarc" <prj@po.cwru.edu> wrote in gnu.utils.help:
>Stephan Petersen <cyber.mail883.10.spasp@xoxy.net> wrote:
>> What's the best way to deal with such cases, where make should abort
>> for *some* exit status values (e.g. > 40), but continue for others
>> (e.g. <= 40).
>
>target: deps
> foo; expr "$$?" '<=' 40 > /dev/null
I know that MAKE incorporates some work-alikes for bits of the UNIX
shells, so that even under DOS it does an "rm" to remove
intermediate files.
Is there a document somewhere that explains just which bits of UNIX
shell are included in MAKE I'd live to be able to write command
lines like the above in my 4DOS-under-Win98 environment, but I don't
feel comfortable about it unless I know the limits.
--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com
"You want an intelligent conversation? Do what I do: talk to
yourself. It's the only way." -- /Torch Song Trilogy/
- make: how to selectively handle exit status of commands, Stephan Petersen, 2004/08/13
- Re: make: how to selectively handle exit status of commands, Paul Jarc, 2004/08/13
- Re: make: how to selectively handle exit status of commands, Stephan Petersen, 2004/08/16
- Message not available
- Re: make: how to selectively handle exit status of commands,
Stan Brown <=
- Re: make: how to selectively handle exit status of commands, Paul D. Smith, 2004/08/28
- Re: make: how to selectively handle exit status of commands, Stan Brown, 2004/08/28
- Re: make: how to selectively handle exit status of commands, Glynn Clements, 2004/08/28
- Re: make: how to selectively handle exit status of commands, mike burrell, 2004/08/28
- Re: make: how to selectively handle exit status of commands, Stan Brown, 2004/08/29
- Re: make: how to selectively handle exit status of commands, Paul D. Smith, 2004/08/29
- Re: make: how to selectively handle exit status of commands, Stan Brown, 2004/08/29