Install-Prefix

Quick Info
Path
Generated1

The --build process, when generating binary packages from a source package, requires an installation prefix which can be defined with the --install-prefix option.

This field is a one to one copy of the path specified on the command line at the time the build occurs. It is later available to the different pkg-config commands in the form of the dynamically defined variable named ${install_prefix}.

Note that by default the installation prefix is taken as an empty string. If you do not make use of source packages but still make use of a prefix and of .pc files, then you should define this field in your control file.

The field is checked and it must be a valid path for any target system (MS-Windows and Unices.)

  • 1. This field is only generated if building a package from a source package. Otherwise it will not be set by wpkg.