[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #35133] Pattern rules used as dependencies for .PRECIOUS don't actu
From: |
Paul D. Smith |
Subject: |
[bug #35133] Pattern rules used as dependencies for .PRECIOUS don't actually do pattern matching |
Date: |
Tue, 20 Dec 2011 23:22:06 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.10 (maverick) Firefox/3.6.24 |
Update of bug #35133 (project make):
Item Group: Bug => Enhancement
_______________________________________________________
Follow-up Comment #1:
The .PRECIOUS pseudo-target is behaving as documented:
You can also list the target pattern of an implicit rule (such as
`%.o') as a prerequisite file of the special target `.PRECIOUS' to
preserve intermediate files created by rules whose target patterns
match that file's name.
And so are pattern-specific variable assignments:
In addition to target-specific variable values, GNU `make'
supports pattern-specific variable values. In this form, the
variable is defined for any target that matches the pattern
specified.
This is not a bug; the system is behaving as documented.
We can consider changing the behavior of, for example, the .PRECIOUS target so
that patterns simply match any target, like other pseudo-targets that take
patterns, but we'd have to think very carefully about the
backward-compatibility implications of this. I'll leave this open as an
enhancement request.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35133>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/