bugmake - Bugs: bug #32362, Typo in online documentation for...

 
 

bug #32362: Typo in online documentation for "define" / "call"

Submitted by:  None
Submitted on:  Sat 05 Feb 2011 10:00:17 AM UTC  
 
Severity: 3 - NormalItem Group: Documentation
Status: Not A BugPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: NoneOperating System: None
Fixed Release: NoneTriage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 05 Feb 2011 10:45:19 PM UTC, comment #1:

The online documentation describes the current latest released version of GNU make, which is 3.82. The syntax you mention works in GNU make 3.82.

Paul D. Smith <psmith>
Project Administrator
Sat 05 Feb 2011 10:00:17 AM UTC, original submission:

The page

http://www.gnu.org/software/autoconf/manual/make/Eval-Function.html

shows an example Makefile that doesn't seem to work for me (with make v3.81 at least).

The problem is the "=" in

define PROGRAM_template =

If I remove it and write

define PROGRAM_template
$(1): $$($(1)_OBJS) $$($(1)_LIBS:%=-l%)
ALL_OBJS += $$($(1)_OBJS)
endef

instead, it works.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

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)
  •  

    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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 05 Feb 2011 10:45:19 PM UTCpsmithStatusNone=>Not A Bug
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1