[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #30809] Documention for "6.8 Defining Multi-Line Variables" indicat
From: |
anonymous |
Subject: |
[bug #30809] Documention for "6.8 Defining Multi-Line Variables" indicates to use "define VARIABLE =" |
Date: |
Thu, 19 Aug 2010 03:53:35 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100401 Ubuntu/9.10 (karmic) Firefox/3.5.9 |
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 #30809] Documention for "6.8 Defining Multi-Line Variables" indicates to use "define VARIABLE =",
anonymous <=