gnu_dirs¶
Sets various standard variables such as INCLUDEDIR. SBINDIR and others. To use this module just call:
opt.load('gnu_dirs')
and:
conf.load('gnu_dirs')
Add options for the standard GNU directories, this tool will add the options found in autotools, and will update the environment with the following installation variables:
Variable |
Description |
Default Value |
---|---|---|
PREFIX |
installation prefix |
/usr/local |
EXEC_PREFIX |
installation prefix for binaries |
PREFIX |
BINDIR |
user commands |
EXEC_PREFIX/bin |
SBINDIR |
system binaries |
EXEC_PREFIX/sbin |
LIBEXECDIR |
program-specific binaries |
EXEC_PREFIX/libexec |
SYSCONFDIR |
host-specific configuration |
PREFIX/etc |
SHAREDSTATEDIR |
architecture-independent variable data |
PREFIX/com |
LOCALSTATEDIR |
variable data |
PREFIX/var |
LIBDIR |
object code libraries |
EXEC_PREFIX/lib |
INCLUDEDIR |
header files |
PREFIX/include |
OLDINCLUDEDIR |
header files for non-GCC compilers |
/usr/include |
DATAROOTDIR |
architecture-independent data root |
PREFIX/share |
DATADIR |
architecture-independent data |
DATAROOTDIR |
INFODIR |
GNU “info” documentation |
DATAROOTDIR/info |
LOCALEDIR |
locale-dependent data |
DATAROOTDIR/locale |
MANDIR |
manual pages |
DATAROOTDIR/man |
DOCDIR |
documentation root |
DATAROOTDIR/doc/APPNAME |
HTMLDIR |
HTML documentation |
DOCDIR |
DVIDIR |
DVI documentation |
DOCDIR |
PDFDIR |
PDF documentation |
DOCDIR |
PSDIR |
PostScript documentation |
DOCDIR |