URL: <http://savannah.gnu.org/bugs/?30809>
Summary: Documention for "6.8 Defining Multi-Line Variables" indicates to use "define VARIABLE =" Project: make Submitted by: None Submitted on: Thu 19 Aug 2010 03:53:35 AM UTC Severity: 3 - Normal Item Group: Documentation Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: 3.81 Operating System: POSIX-Based Fixed Release: None Triage Status: None _______________________________________________________ Details: I was attempting to learn how to use multi-line variables for functions, when I ran into a problem. The same function written as a single line (with ';' between the commands) would work, but when written as a multi-line variable using 'define' it would not. I was following the example given at http://www.gnu.org/software/make/manual/make.html#Multi_002dLine Which indicated to do something like define variable = echo line1 echo line2 endef However this would only work if I removed the '='. I wanted to point this out in case the documentation was in error in indicating to use a '='. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?30809> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make