URL: <http://savannah.gnu.org/bugs/?28230>
Summary: $(eval) does not understand multiline Project: make Submitted by: yozh Submitted on: Tue 08 Dec 2009 06:53:47 PM GMT Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: None Operating System: None Fixed Release: None Triage Status: None _______________________________________________________ Details: ==== # cat script.sh #!/bin/sh -e echo "a = 1" echo "b = 2" # cat Makefile $(eval $(shell ./script.sh)) $(info $(a)) $(info $(b)) xx: # gmake 1 b = 2 gmake: Nothing to be done for `xx'. ==== "1 b = 2\n\n" is printed. "1\n2\b" expected. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?28230> _______________________________________________ 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