[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #51269] Reusing data from targets for prerequisites

From: Markus Elfring
Subject: [bug #51269] Reusing data from targets for prerequisites
Date: Mon, 19 Jun 2017 13:34:23 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0


                 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 Group: Enhancement
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.2.1
        Operating System: Any
           Fixed Release: None
           Triage Status: None



The make software supports pattern rules
<https://www.gnu.org/software/make/manual/html_node/Pattern-Match.html> for a
while. The percent character must be specified for prerequisites and targets
there which is mapped to a stem then.

Multiple targets
<https://www.gnu.org/software/make/manual/html_node/Multiple-Targets.html> can
also be used for a specific make rule. Automatic variables
provide corresponding data.

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 software restriction?

I would appreciate if parts from target names can also be occasionally reused
for prerequisite specifications.
Would it make sense to allow that another special syntax will denote
additional placeholders (similar to the handling of the percent character)?


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]