[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 14:40:40 +0300

How about a general syntax for canceling prerequisites (not just for
special targets)?  Say, "!:" (inspired by "&:")?

Then you'd just say ".ONESHELL!: my-tricky-target".  More verbose than
"my-tricky-target: ! .ONESHELL" or whatever,
but seems more robust to me (and more general, although I couldn't off
the top of my head say when one would want to
cancel any normal prerequisites...).


On Wed, Jun 12, 2019 at 2:14 PM David A. Wheeler <address@hidden> wrote:
> David A. Wheeler (11 June 2019 22:25) wrote:
> >> I know of no other use for "!" in prerequisites.
> On June 12, 2019 4:42:15 AM EDT, Edward Welbourne <address@hidden> wrote:
> >Well, it could be a file-name ;^>
> Fair enough, although I expect that to be extremely rare.
> That can be easily escaped as "./!".
> --- David A.Wheeler
> _______________________________________________
> Bug-make mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-make

reply via email to

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