bug-make
[Top][All Lists]
Advanced

[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

URL:
  <http://savannah.gnu.org/bugs/?51269>

                 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

    _______________________________________________________

Details:

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
<https://www.gnu.org/software/make/manual/html_node/Automatic-Variables.html>
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:

  <http://savannah.gnu.org/bugs/?51269>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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