InstallPkgMeta¶
This module defines install_pkgmeta()
and the deprecated
install_license()
to install metadata files such as
INSTALL
, LICENSE
, or README
.
- install_pkgmeta¶
Install metadata files.
install_pkgmeta([<options>])
Options¶
INSTALLER_LICENSE <license-file>
Install the specified
LICENSE
file.INSTALLER_README <readme-file>
Install the specified
README
file.INSTALLER_WELCOME <welcome-file>
Install the specified
WELCOME
file.
Unrecognized options are passed to
_cet_install()
.Details¶
The following patterns are used to identify metadata files for installation in addition to any options used:
COPYING
,COPYING.*
LICEN[CS]E
,LICEN[CS]E.*
LICEN[CS]ES
,LICEN[CS]ES.*
INSTALL*
,*README*
If not identified specifically by the relevant option, the lexically-first identified
LICENSE
,README
, orWELCOME
files will be used to setCPACK_RESOURCE_FILE_LICENSE
,CPACK_RESOURCE_FILE_README
, and,CPACK_RESOURCE_FILE_WELCOME
respectively.
- install_license¶
Install metadata files.
..deprecated:: use
install_pkgmeta()
.