gittup/tup — pull request #53 by zjg (2012-03-09 02:53:52+00:00)
Title: Added $(TUP_ABS_CWD), t2103, t2104, and bumped PARSER_VERSION

$(TUP_ABS_CWD) expands to the absolute path of the current Tupfile. Useful for referring to non-generated files no matter how deep the parser is in a Tupfile inclusion chain.

Note that t2104 requires the include_rules fix in my other pull request (I separated the requests because TUP_ABS_CWD might need more thought/discussion).

See t2104 for an example of the problem I was having. If the TUP_ABS_CWD in sw/Tuprules.tup is replaced by just TUP_CWD, it causes the lib_tupfile variable to have the wrong path when including $(core_tupfile) into sw/test/Tupfile.