|
From: | Brian Vandenberg |
Subject: | [bug #46580] plugin: macro functions cannot be called with zero parameters |
Date: | Wed, 02 Dec 2015 23:41:24 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; Win64; x64; Trident/7.0; rv:11.0) like Gecko |
Follow-up Comment #2, bug #46580 (project make): $(lastword ${MAKEFILE_LIST)) doesn't give the current makefile, it gives the last file that was sourced. For example: ~ cat /tmp/makefile1 $(info $(lastword ${MAKEFILE_LIST})) include /tmp/makefile2 $(info $(lastword ${MAKEFILE_LIST})) ~ cat /tmp/makefile2 $(info $(lastword ${MAKEFILE_LIST})) ~ gmake -f /tmp/makefile1 /tmp/makefile1 /tmp/makefile2 /tmp/makefile2 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?46580> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |