tlbuild: Installation directories
5.1 Installation directories
============================
Running 'make install' (or 'make install-strip') installs executables in
'BINDIR', libraries in 'LIBDIR', headers in 'INCLUDEDIR', general data
(including "linked scripts", ⇒Linked scripts) in
'DATAROOTDIR/texmf-dist', man pages in 'MANDIR', and Info files in
'INFODIR'.
The values of these directories are determined by 'configure' and can
be specified explicitly as options such as '--prefix=PREFIX' or
'--bindir=BINDIR'; otherwise, they are given by their usual Autoconf
defaults:
PREFIX /usr/local
EXEC_PREFIX PREFIX
BINDIR EXEC_PREFIX/bin
LIBDIR EXEC_PREFIX/lib
INCLUDEDIR PREFIX/include
DATAROOTDIR PREFIX/share
MANDIR DATAROOTDIR/man
INFODIR DATAROOTDIR/info
except possibly modified as follows:
* If the option '--enable-multiplatform' is given, '/PLATFORM' (i.e.,
the canonical platform name) is appended to 'BINDIR' and 'LIBDIR'.
This is implied for a native TL build.
* In a native TL build, 'DATAROOTDIR' is set to 'PREFIX', 'INFODIR'
is set to 'PREFIX/texmf-dist/doc/info', and 'MANDIR' to
'PREFIX/texmf-dist/doc/man', corresponding to the directories used
in the TL distribution.
The top-level 'configure' script displays all these installation paths.
For the native TL build, the 'Build' script leaves the binaries in
'./inst/bin/STD-SYSTEM-TRIPLET'. The new binaries are not directly
usable from that location; they need to be copied to
'Master/bin/TL-PLATFORM'. The other files and directories that end up
in './inst/' are ignored.