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

 
 

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

Submitted by:  None
Submitted on:  Tue 25 Feb 2020 08:09:08 PM UTC
 
Severity:  3 - 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

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

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

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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.

     

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.9