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

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to