[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature request: silently overriding existing rules
From: |
Stefano Lattarini |
Subject: |
Re: Feature request: silently overriding existing rules |
Date: |
Sat, 11 Aug 2012 10:53:44 +0200 |
On 08/11/2012 07:36 AM, Tim Murphy wrote:
> This is a different thing but I'd have had great use for a way to tell if a
> target had been defined previously. Had to use variables to do it which
> used a lot of memory and it was a total waste because make has the
> information already.
>
I dimly remember that there had been talks about a $(.TARGETS) special
variable in the past, but for some reasons that had been problematic to
implement correctly, and the idea was (at least temporarily) dropped.
> Perhaps the ability to detect if a target is defined and another to remove
> it would offer a complete api.
>
But note that I'm just proposing to remove the *recipe* associated with a
target, not the target itself (nor the list of dependencies for it). Not
that I oppose such an enhancement, but is distinct from what I need for my
use case (and might be more tricky to implement).
Regards,
Stefano
- Feature request: silently overriding existing rules, Stefano Lattarini, 2012/08/10
- Re: Feature request: silently overriding existing rules, David Boyce, 2012/08/10
- Re: Feature request: silently overriding existing rules, Stefano Lattarini, 2012/08/10
- Re: Feature request: silently overriding existing rules, David Boyce, 2012/08/10
- Re: Feature request: silently overriding existing rules, Stefano Lattarini, 2012/08/10
- Re: Feature request: silently overriding existing rules, Tim Murphy, 2012/08/11
- Re: Feature request: silently overriding existing rules,
Stefano Lattarini <=
- Re: Feature request: silently overriding existing rules, Tim Murphy, 2012/08/11
- Re: Feature request: silently overriding existing rules, Stefano Lattarini, 2012/08/11