[Top][All Lists]

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

Re: Idea: Standard way to negate special targets

From: Michael Livshin
Subject: Re: Idea: Standard way to negate special targets
Date: Wed, 12 Jun 2019 19:38:09 +0300

On Wed, Jun 12, 2019 at 7:25 PM David A. Wheeler <address@hidden> wrote:
> I would strongly prefer "!" just binding to the next target & documenting 
> that.
> The first time someone sees they may wonder how far it binds,
> but it's pretty obvious that there are multiple possibilities,
> so they can look it up once & remember the answer from then on. Also,
> people can choose to list negations at the end of the list of
> prerequisites, and that style seems adequate:
> my-weird-target: foo bar ! .ONESHELL ! dont-want-to-depend-on-this

Binding to more than one target would also require specifying the
interplay with "|".

reply via email to

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