On 02/27/2013 11:30 AM, Philip Guenther wrote:
On Wed, Feb 27, 2013 at 11:25 AM, Daniel Wagenaar
<invalid.nore...@gnu.org> 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

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to