[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #51269] Reusing data from targets for prerequisites
From: |
SF Markus Elfring |
Subject: |
Re: [bug #51269] Reusing data from targets for prerequisites |
Date: |
Tue, 20 Jun 2017 11:43:04 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 |
>> 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 already.
The provided example looks promising.
bigoutput littleoutput : %output : text.g
generate text.g -$* > $@
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?
* Should the determination of prefixes and suffixes just work here?
* Can another link help in the section “How patterns match” of the
documentation?
> Otherwise, give a specific example of what it is you can't do
> with the existing syntax.
I am also interested in data processing for several fields from targets
(and not only a single “%” as the usual placeholder).
Will it make sense to capture any more data into corresponding variables?
Regards,
Markus
Re: [bug #51269] Reusing data from targets for prerequisites, SF Markus Elfring, 2017/06/20