summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorDomen Vrankar <domen.vrankar@gmail.com>2016-05-23 17:51:33 (GMT)
committerDomen Vrankar <domen.vrankar@gmail.com>2016-05-23 17:55:46 (GMT)
commitadbd3985f89f19d9de867a75321465d6e181908d (patch)
treed910cf142bdc41d81a8d1402b4ddb6e3b5d53a67 /Help
parentc75d91a05c9f442582726e3e80fec41d016da76f (diff)
downloadCMake-adbd3985f89f19d9de867a75321465d6e181908d.zip
CMake-adbd3985f89f19d9de867a75321465d6e181908d.tar.gz
CMake-adbd3985f89f19d9de867a75321465d6e181908d.tar.bz2
CPack/Deb possibility to change package name
This patch preserves backward compatibility of deb package names with previous CMake versions but similarly to CPack/RPM allows to change package name format and supports DEB-DEFAULT setting that produces proper Debian package names.
Diffstat (limited to 'Help')
-rw-r--r--Help/release/dev/cpack-deb-imporvements.rst16
1 files changed, 10 insertions, 6 deletions
diff --git a/Help/release/dev/cpack-deb-imporvements.rst b/Help/release/dev/cpack-deb-imporvements.rst
index 4fd35b8..d3cb52c 100644
--- a/Help/release/dev/cpack-deb-imporvements.rst
+++ b/Help/release/dev/cpack-deb-imporvements.rst
@@ -13,15 +13,19 @@ cpack-deb-imporvements
:variable:`CPACK_COMPONENT_<compName>_DEPENDS` variables are set.
This breaks compatibility with previous versions.
-* The :module:`CPackDeb` module learned how to set the package release number
- (``DebianRevisionNumber`` in package file name). See
- :variable:`CPACK_DEBIAN_PACKAGE_RELEASE`.
-
-* The :module:`CPackDeb` module now generates properly-named Debian packages::
+* The :module:`CPackDeb` module learned how to set custom package file names
+ including how to generate properly-named Debian packages::
<PackageName>_<VersionNumber>-<DebianRevisionNumber>_<DebianArchitecture>.deb
- This breaks compatibility with previous versions.
+ For backward compatibility this feature is disabled by default. See
+ :variable:`CPACK_DEBIAN_FILE_NAME` and
+ :variable:`CPACK_DEBIAN_<COMPONENT>_FILE_NAME`.
+
+* The :module:`CPackDeb` module learned how to set the package release number
+ (``DebianRevisionNumber`` in package file name when used in combination with
+ ``DEB-DEFAULT`` value set by :variable:`CPACK_DEBIAN_FILE_NAME`). See
+ :variable:`CPACK_DEBIAN_PACKAGE_RELEASE`.
* The :module:`CPackDeb` module learned how to set the package architecture
per-component. See :variable:`CPACK_DEBIAN_<COMPONENT>_PACKAGE_ARCHITECTURE`.