bugmake - Bugs: bug #57898, Automatic variable for all targets...

 
 

bug #57898: Automatic variable for all targets on grouped target

Submitter:  None
Submitted:  Tue 25 Feb 2020 08:09:08 PM UTC
   
 
Severity:  3 - Normal Priority:  5 - Normal
Item Group:  Enhancement Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Component Version:  None
Operating System:  None Fixed Release:  None
Triage Status:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Fri 11 Jun 2021 03:47:02 PM UTC, comment #2: 

bug #60077 provides a patch that adds $(@<) as the first target and $(@^) as the list, along with D and F versions.

Todd Lowe <toddlowe>
Sun 10 May 2020 10:58:28 PM UTC, comment #1: 

$? is of course already taken (for the update-triggering prerequisites).

But I would also find it very useful to have an automatic variable for all the targets in the group.

How about $% (archive member name) then? The documentation says it's empty if the target is not an archive member. So we could add another case here: if the target is part of a group, the full name of the group.

Or how about another ASCII special character like $&?

Robert Sachunsky <bertsky>
Tue 25 Feb 2020 08:09:08 PM UTC, original submission:  

It would be handy to have an automatic variable to show all targets on a grouped target rule...

    a b &:
        @echo building $?

which would output:  'building a b'...


Anonymous

 

Attached Files

This item currently has no attached files.

(Note: upload size limit is set to 4.0MiB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by toddlowe (Posted a comment)
  • -email is unavailable- added by bertsky (Posted a comment)
  •  

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16-ed84.
    Corresponding source code