get a configuration. (e.g. config('prefix') for --prefix)
set a configuration KEY to VAL. (e.g. set_config("prefix", "/usr"))
the current srcdir.
the current objdir.
the root directory of srcdir. When the hook script is called from setup.rb, this method returns the top directory of each package directory (ARCHIVE_TOP/packages/*/).
the root directory of objdir. When the hook script is called from setup.rb, this method returns the top directory of each package directory (OBJDIR/packages/*/).
expands relational path FNAME which is in the current srcdir, into the absolute path.
true if a file FNAME exists in the current srcdir.
true if a directory FNAME exists in the current srcdir.
true if a normal file FNAME exists in the current srcdir.
returns the list of file entiries in the directory "current srcdir + '/' + relpath"
returns the list of file names in the directory "current srcdir + '/' + relpath"
returns the list of directory names in the directory "current srcdir + '/' + relpath"