[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #48643] Irrelevant targets can confuse make on which pattern rule t
From: |
Paul D. Smith |
Subject: |
[bug #48643] Irrelevant targets can confuse make on which pattern rule to select. |
Date: |
Thu, 20 Jan 2022 10:19:11 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36 |
Follow-up Comment #34, bug #48643 (project make):
I didn't fully grasp the impact of the issue you raised in comment #31. Do
you mean that if I apply the test patch mentioned there, some of those tests
would fail? I will try to look at this more this evening.
Regarding your question in comment #33, the current behavior is correct. It
has always been the case that any mention of a target in the makefile is
sufficient to remove the "intermediate-ness" of a file. In fact, this is a
very common, and very often recommended, way to remove intermediate status of
a file; we suggest adding a separate target like:
build-intermediates: <list of intermediate files>
and even if that target is never invoked, it's sufficient to mark those
targets as "mentioned in" the makefile and thus remove their intermediate
status.
Changing this would break a lot of things.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?48643>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/