bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #38433] Example for "eval" in documentation contains error with


From: Daniel Wagenaar
Subject: Re: [bug #38433] Example for "eval" in documentation contains error with "define"
Date: Wed, 27 Feb 2013 13:56:27 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0


On 02/27/2013 11:30 AM, Philip Guenther wrote:
On Wed, Feb 27, 2013 at 11:25 AM, Daniel Wagenaar
<address@hidden> wrote:
The example for the "eval" function in the documentation at
http://www.gnu.org/software/make/manual/html_node/Eval-Function.html contains
a syntax error that causes the example to fail quietly. The problem is in the
line

      define PROGRAM_template =

This line should not have "=" at the end.
No, that line is perfectly correct.  The problem is that you're still
running version 3.81, which was obsoleted almost 3 years ago.  Upgrade
to 3.82.   Or use "info make" to read the documentation that's
installed on your system and therefore matches the version you're
running.


Philip Guenther
I appreciate your correction, but I still feel that the documentation on the website would be more helpful if it at least mentioned that older versions of make fail quietly when there is a "=" at the end of the line. The reason is that make v. 3.81 is still in very wide use. For instance, it is part of Ubuntu 12.04-LTS as well as Mint 14.

- Daniel Wagenaar



reply via email to

[Prev in Thread] Current Thread [Next in Thread]