summaryrefslogtreecommitdiff
path: root/Modules/CPackDeb.cmake
diff options
context:
space:
mode:
authorDomen Vrankar <domen.vrankar@gmail.com>2015-11-08 23:46:13 +0100
committerBrad King <brad.king@kitware.com>2015-11-09 09:58:30 -0500
commit57672e7275fc12534b5b13f9c922fe569936c81a (patch)
treeb8e1ef3865e92bd6634a4156c5f557f45fd91649 /Modules/CPackDeb.cmake
parenta45a4b2d86bf7d03d690433c3b1299ace1e6dbe0 (diff)
downloadcmake-57672e7275fc12534b5b13f9c922fe569936c81a.tar.gz
CPackDeb: CPACK_DEBIAN_PACKAGE_NAME documentation improvement
Diffstat (limited to 'Modules/CPackDeb.cmake')
-rw-r--r--Modules/CPackDeb.cmake12
1 files changed, 10 insertions, 2 deletions
diff --git a/Modules/CPackDeb.cmake b/Modules/CPackDeb.cmake
index 7e9eb869a7..2aaef61619 100644
--- a/Modules/CPackDeb.cmake
+++ b/Modules/CPackDeb.cmake
@@ -29,10 +29,18 @@
# .. variable:: CPACK_DEBIAN_PACKAGE_NAME
# CPACK_DEBIAN_<COMPONENT>_PACKAGE_NAME
#
-# The Debian package summary
+# Set Package control field (variable is automatically transformed to lower
+# case).
#
# * Mandatory : YES
-# * Default : :variable:`CPACK_PACKAGE_NAME` (lower case)
+# * Default :
+#
+# - :variable:`CPACK_PACKAGE_NAME` for non-component based
+# installations
+# - :variable:`CPACK_DEBIAN_PACKAGE_NAME` suffixed with -<COMPONENT>
+# for component-based installations.
+#
+# See https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Source
#
#
# .. variable:: CPACK_DEBIAN_PACKAGE_VERSION