[bug #51269] Reusing data from targets for prerequisites

2017-07-02 Thread Markus Elfring
Follow-up Comment #2, bug #51269 (project make): I would also like to restrict secondary expansion (or evaluation?) to specific make rules which might not fit to the following information. “… In order for this second expansion to occur, the special target .SECONDEXPANSION must be defined before t

[bug #51269] Reusing data from targets for prerequisites

2017-07-02 Thread Paul D. Smith
Update of bug #51269 (project make): Status:None => Not A Bug Open/Closed:Open => Closed ___ Follow-up Comment #1: The secondary expansio

Re: [bug #51269] Reusing data from targets for prerequisites

2017-06-21 Thread SF Markus Elfring
> It's important to realize that even though the unfortunate choice of > naming implies otherwise, static pattern rules are in all ways > _explicit_ rules. They are not and should never be considered > implicit rules. Thanks for your explanation. This terminology can occasionally trigger corresp

Re: [bug #51269] Reusing data from targets for prerequisites

2017-06-20 Thread Paul Smith
On Tue, 2017-06-20 at 17:18 +0200, SF Markus Elfring wrote: > I guess that it will be noticed once more that implicit rules will work > in an other way than static pattern rules. It's important to realize that even though the unfortunate choice of naming implies otherwise, static pattern rules are

Re: [bug #51269] Reusing data from targets for prerequisites

2017-06-20 Thread SF Markus Elfring
>> * Can it eventually happen that dependencies will not be resolved if >> target names do not contain the percent character? > > I can't remember, but a simple experiment should answer that ! I guess that it will be noticed once more that implicit rules will work in an other way than static pa

Re: [bug #51269] Reusing data from targets for prerequisites

2017-06-20 Thread SF Markus Elfring
>> Would it make sense to allow that another special syntax will denote >> additional placeholders (similar to the handling of the percent character)? > > Take a look at > https://www.gnu.org/software/make/manual/html_node/Static-Usage.html > > It may enable what you want already. This functiona

Re: [bug #51269] Reusing data from targets for prerequisites

2017-06-20 Thread Edward Welbourne
Markus Elfring (20 June 2017 11:43) > I got another software development concern for such an use case. > > * Can it eventually happen that dependencies will not be resolved if > target names do not contain the percent character? I can't remember, but a simple experiment should answer that ! > *

Re: [bug #51269] Reusing data from targets for prerequisites

2017-06-20 Thread SF Markus Elfring
>> Would it make sense to allow that another special syntax will denote >> additional placeholders (similar to the handling of the percent character)? > > Take a look at > https://www.gnu.org/software/make/manual/html_node/Static-Usage.html Thanks for your link. > It may enable what you want al

Re: [bug #51269] Reusing data from targets for prerequisites

2017-06-20 Thread Edward Welbourne
Markus Elfring (19 June 2017 19:34): > The documentation contains the following information: > “… > It’s very important that you recognize the limited scope in which automatic > variable values are available: they only have values within the recipe. > …” > > How are the chances to adjust this softw

[bug #51269] Reusing data from targets for prerequisites

2017-06-19 Thread Markus Elfring
URL: Summary: Reusing data from targets for prerequisites Project: make Submitted by: elfring Submitted on: Mon 19 Jun 2017 07:34:22 PM CEST Severity: 3 - Normal Item Gro