bug-make
[Top][All Lists]
Advanced

[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 12:35:18 +0200

On 08/11/2012 11:49 AM, Tim Murphy wrote:
> For the sake of understanding you properly, if you can detect, remove and
> add targets then 'replacing the recipe silently' is just these three
> operations in sequence, right?
>
No.  A target might be defined, but might have or not have an associated
recipe.  I was speaking only about changing such associated recipe, which
GNU make is apparently able to do right today, albeit unconditionally
printing a warning when it does so.  It's because of this pre-existing
ability that I suspect and hope it would be feasible to implement my
originally proposed feature.

> We can already add targets but not the other two.
>
Actually, we can already add targets *but not* remove nor detect them,
and we can already add recipes *and* override them (we just cannot do
so avoiding warnings), but OTOH we cannot detect (not that I know of).

Regards,
  Stefano



reply via email to

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