mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 22:37:30 +08:00
Help: Format allowed CPACK_{DEB,RPM}_FILE_NAME values as definition list
This provides a structured location for notes about each value.
This commit is contained in:
@@ -69,28 +69,27 @@ List of CPack DEB generator specific variables:
|
|||||||
:Mandatory: Yes
|
:Mandatory: Yes
|
||||||
:Default: ``<CPACK_PACKAGE_FILE_NAME>[-<component>].deb``
|
:Default: ``<CPACK_PACKAGE_FILE_NAME>[-<component>].deb``
|
||||||
|
|
||||||
This may be set to ``DEB-DEFAULT`` to allow the CPack DEB generator to generate
|
This may be set to:
|
||||||
package file name by itself in deb format::
|
|
||||||
|
``DEB-DEFAULT``
|
||||||
|
Tell CPack to automatically generate the package file name in deb format::
|
||||||
|
|
||||||
<PackageName>_<VersionNumber>-<DebianRevisionNumber>_<DebianArchitecture>.deb
|
<PackageName>_<VersionNumber>-<DebianRevisionNumber>_<DebianArchitecture>.deb
|
||||||
|
|
||||||
Alternatively provided package file name must end
|
This setting recommended as the preferred behavior, but for backward
|
||||||
with either ``.deb`` or ``.ipk`` suffix.
|
compatibility with the CPack DEB generator in CMake prior to version 3.6,
|
||||||
|
this is not the default. Without this, duplicate names may occur.
|
||||||
|
Duplicate files get overwritten and it is up to the packager to set
|
||||||
|
the variables in a manner that will prevent such errors.
|
||||||
|
|
||||||
|
``<file-name>.deb``
|
||||||
|
Use the given file name. The ``.deb`` suffix is required.
|
||||||
|
|
||||||
|
``<file-name>.ipk``
|
||||||
.. versionadded:: 3.10
|
.. versionadded:: 3.10
|
||||||
``.ipk`` suffix used by OPKG packaging system.
|
|
||||||
|
|
||||||
.. note::
|
Use the given file name.
|
||||||
|
The ``.ipk`` suffix is used by the OPKG packaging system.
|
||||||
Preferred setting of this variable is ``DEB-DEFAULT`` but for backward
|
|
||||||
compatibility with the CPack DEB generator in CMake prior to version 3.6 this
|
|
||||||
feature is disabled by default.
|
|
||||||
|
|
||||||
.. note::
|
|
||||||
|
|
||||||
By using non default filenames duplicate names may occur. Duplicate files
|
|
||||||
get overwritten and it is up to the packager to set the variables in a
|
|
||||||
manner that will prevent such errors.
|
|
||||||
|
|
||||||
.. variable:: CPACK_DEBIAN_PACKAGE_EPOCH
|
.. variable:: CPACK_DEBIAN_PACKAGE_EPOCH
|
||||||
|
|
||||||
|
@@ -84,9 +84,13 @@ List of CPack RPM generator specific variables:
|
|||||||
:Default: ``<CPACK_PACKAGE_FILE_NAME>[-<component>].rpm`` with spaces
|
:Default: ``<CPACK_PACKAGE_FILE_NAME>[-<component>].rpm`` with spaces
|
||||||
replaced by '-'
|
replaced by '-'
|
||||||
|
|
||||||
This may be set to ``RPM-DEFAULT`` to allow ``rpmbuild`` tool to generate package
|
This may be set to:
|
||||||
file name by itself.
|
|
||||||
Alternatively provided package file name must end with ``.rpm`` suffix.
|
``RPM-DEFAULT``
|
||||||
|
Tell ``rpmbuild`` to automatically generate the package file name.
|
||||||
|
|
||||||
|
``<file-name>.rpm``
|
||||||
|
Use the given file name. The ``.rpm`` suffix is required.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user