bug-make
[Top][All Lists]
Advanced

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

[bug #59154] Multiline environment variables handled poorly


From: Paul D. Smith
Subject: [bug #59154] Multiline environment variables handled poorly
Date: Mon, 21 Sep 2020 20:45:24 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36

Follow-up Comment #2, bug #59154 (project make):

This is done on purpose.  Newlines in variable expansions are treated as real
newlines in the rule.  If they weren't, then multiline definitions would not
work at all:


define MYRULE
echo hello
echo world
endef

all: ; $(MYRULE)


I suppose there may be some way to special-case things, I'm not sure.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59154>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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