bugmake - Bugs: bug #24509, doc for wildcard expansion in...

 
 

bug #24509: doc for wildcard expansion in commands could be clearer

Submitted by:  Martin Dorey <mdorey>
Submitted on:  Thu 09 Oct 2008 06:20:47 PM UTC  
 
Severity: 3 - NormalItem Group: Documentation
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 4.0Operating System: None
Fixed Release: 3.82Triage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 02 Aug 2009 04:19:21 PM UTC, comment #1:

Thanks Martin.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Thu 09 Oct 2008 06:20:47 PM UTC, original submission:

Harald Bergmann notes that in one place we say "the shell is responsible for wildcard expansion" where later we say "[if you use .o in a] command, wildcard expansion will* take place at that time" (my emphasis on will). Well, perhaps it will, perhaps it will not - that depends on the shell, as noted earlier. Further, any expansion doesn't take place at the time make sees the command, which the above wording could reasonably be interpreted to suggest, but only when make runs the shell and the shell runs the command.

On the mailing list, I suggested [

I'm not sure I've understood. Perhaps rewording the second stanza like
this would address your concern?

"However, if you use the value $(objects) in a target or prerequisite, wildcard expansion will take place there. If you use the value $(objects) in a command, the shell may perform wildcard expansion when the command runs."

] and the OP replied (privately) [

Hi Martin,

I am sure you did!
Your proposal is OK!

Best regards,
Harald

].

That proposal is not quite the same as the patch, from CVS, that I'm attaching here, because the wording has seemingly moved on (using the word "recipe" instead of "command") and because there's quoting in the original that didn't survive the email, leading me to suggest my own $() "quoting", above, which I abandon here in favor of the existing style.

I reproduce it as evidence that my first paragraph here is an accurate summary of the OP's gripe.

Martin Dorey <mdorey>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #16640:  make.texi.patch added by mdorey (855B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by psmith (Posted a comment)
  • -unavailable- added by mdorey (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 28 Jul 2010 06:17:03 AM UTCpsmithFixed Release4.0=>3.82
    Sun 02 Aug 2009 04:19:21 PM UTCpsmithFixed ReleaseNone=>4.0
      StatusNone=>Fixed
      Assigned toNone=>psmith
      Open/ClosedOpen=>Closed
    Thu 09 Oct 2008 06:20:48 PM UTCmdoreyAttached File-=>Added make.texi.patch, #16640

    Back to the top


    Powered by Savane 3.1-cleanup1