make-alpha
[Top][All Lists]
Advanced

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

Re: .ONESHELL enhancement?


From: David Boyce
Subject: Re: .ONESHELL enhancement?
Date: Tue, 22 Sep 2009 14:34:29 -0400

On Tue, Sep 22, 2009 at 2:23 PM, Boris Kolpackov <address@hidden> 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




reply via email to

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