E.4.5 Install

Contains instructions for installation of the compiler units and programs. The following keywords are recognized:

basedir
The directory that is used as the base directory for the installation of units. Default this is prefix appended with /lib/fpc/FPC_VERSION for linux or simply the prefix on other platforms.
datadir
Directory where data les will be installed, i.e. the les specied with the Files keyword.
fpcpackage
A boolean key. If this key is specied and equals y, the les will be installed as a fpc package under the Free Pascal units directory, i.e. under a separate directory. The directory will be named with the name specied in the package section.
les
extra data les to be installed in the directory specied with the datadir key.
prex
is the directory below which all installs are done. This corresponds to the --prefix argument to gnu congure. It is used for the installation of programs and units. By default, this is /usr on linux, and /pp on all other platforms.
units
extra units that should be installed, and which are not part of the unit targets. The units in the units target will be installed automatically.

Units will be installed in the subdirectory units/$(OS_TARGET) of the dirbase entry.