[Top][All Lists]

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

[bug #54161] Expansion of $$* is incorrect

From: anonymous
Subject: [bug #54161] Expansion of $$* is incorrect
Date: Thu, 21 Jun 2018 05:18:59 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0


                 Summary: Expansion of $$* is incorrect
                 Project: make
            Submitted by: None
            Submitted on: Thu 21 Jun 2018 09:18:58 AM UTC
                Severity: 3 - Normal
              Item Group: Bug
                  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 handling of $* is unexpected as it differs between the second expansion of
the targets and the recipe.

$ cat Makefile 
%x: $$(info $$*); : $*

For examples such as treated in the manual, this works as expected:

$ make fox
: fo

However, following the suggestion about path treatment in implicit rules, the
following is unexpected:

$ make q/ux
: q/u

Observe the directory being stripped only in the expansion of $* in the target
listing, but not in the recipe.


Reply to this item at:


  Message sent via Savannah

reply via email to

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