RE: [bug #23928] Add MAKEFILE variable

2008-07-28 Thread lasse.makholm
Philip Guenther wrote: BTW, $(lastword ${MAKEFILE_LIST}) is _not_ always the makefile being parsed at that moment, particularly when there's an 'include' directive earlier in the makefile. There's in fact no 100% general and reliable way to get the name of the file that's being parsed.

RE: [bug #23928] Add MAKEFILE variable

2008-07-28 Thread Martin Dorey
MAKEFILE_STACK. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, July 28, 2008 03:01 To: bug-make@gnu.org Cc: [EMAIL PROTECTED]; Martin Dorey; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [bug #23928] Add MAKEFILE variable Philip Guenther wrote: BTW, $(lastword