Re: .ONESHELL enhancement?
David Boyce <[email protected]>
| Newsgroups | gmane.comp.gnu.make.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Sep 22, 2009 at 2:23 PM, Boris Kolpackov <[email protected]> wrote: > "It is suggested that the special target .ONESHELL be used as an > implementation extension to achieve the single-shell grouping for > a target or group of targets." > > So I guess it can be implemented either way and still be "conforming". Agree, but I think it matters that .ONESHELL behave like other special targets. Principle of least surprise, etc. Cf the .NOTPARALLEL target which is documented as "If .NOTPARALLEL is mentioned as a target, then this invocation of make will be run serially ..." There's nothing said to the effect that it applies only to rules defined after the line on which it appears. But this is the kind of detail on which I'd await an opinion from Paul. I always put my special targets at the top so I have no idea how they'd behave elsewhere. DSB