joyent/node — pull request #2878 by TooTallNate (2012-03-05 20:41:21+00:00)
Title: Add a "module_root_dir" variable for native modules to use in their gyp files

This new `module_root_dir` gives the absolute path to the root of the module directory, i.e. where your
main binding.gyp file is located.

This seems helpful for some modules where the build system is more advanced
and using absolute paths is a requirement. Most modules probably won't need to use it though.