On Sat, 2011-10-08 at 17:34 +0200, Georg Sauthoff wrote: > Hi, > > currently the online manual section on eval > > http://www.gnu.org/software/make/manual/make.html#Eval-Function > > contains an example with folowing line: > > define PROGRAM_template = > > In comparison to that my local info page (make 3.81, Ubuntu 11.04) says: > > define PROGRAM_template > > And indeed the syntax of a multi line variable definition does not allow > a trailing ' =' and thus if you use the first line make can't find the > PROGRAM_template variable. > > You can verify this using 'make --warn-undefined'. > > I don't know if the online version of the manual is outdated - but > please fix it such that it contains the right syntax, > since this example describes a rather complicated part of makefile > techniques (-> eval templates).
It's not the manual that's outdated, it's your version of GNU make. The online manual always defines the latest version of GNU make, which is currently GNU make 3.82. You're using GNU make 3.81, which is not the latest, so your version of GNU make doesn't match the manual. You can tell this by looking right at the beginning of the manual where it says: This is Edition 0.71, last updated 19 July 2010, of The GNU Make Manual, for GNU make version 3.82. If you want accurate documentation then use the version that comes with the version of GNU make you have installed. Cheers! -- ------------------------------------------------------------------------------- Paul D. Smith <psm...@gnu.org> Find some GNU make tips at: http://www.gnu.org http://make.mad-scientist.net "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make