URL:
<http://savannah.gnu.org/bugs/?28456>
Summary: Expansion of $$< is incorrect
Project: make
Submitted by: igloo
Submitted on: Fri Jan 1 01:37:37 2010
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 3.81
Operating System: Any
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
I was trying out the example in the "Secondary Expansion" part of the manual,
and the expansion of $$< seems to be wrong in both 3.81 and CVS. For example,
this Makefile:
.SECONDEXPANSION:
foo: bar q$$<
%:
@echo This is the general rule for $@ with deps $^
Gives this output:
$ make foo
This is the general rule for bar with deps
This is the general rule for qfoo with deps
This is the general rule for foo with deps bar qfoo
i.e. $$< appears to have been expanded to "foo", whereas I would expect it to
be expanded to the empty string.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?28456>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make