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

 
 

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

Submitter:  None
Submitted:  Sat 05 Feb 2011 10:00:17 AM UTC
   
 
Severity:  3 - Normal Item Group:  Documentation
Status:  Not A Bug Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  None Operating System:  None
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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 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 psmith (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.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-02-05 psmith StatusNone Not A Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code