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

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 bertsky (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.5