From 68c18a07e39cd4446a690d33ae84c85fadc2e1f2 Mon Sep 17 00:00:00 2001
From: Doug <linderd@iinet.net.au>
Date: Mon, 18 Jun 2012 07:43:55 +0000
Subject: [PATCH] Added documentation for CPACK_DEBIAN_PACKAGE_RECOMMENDS,
 CPACK_DEBIAN_PACKAGE_SUGGESTS,
 CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA

---
 Modules/CPackDeb.cmake |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/Modules/CPackDeb.cmake b/Modules/CPackDeb.cmake
index fe81dc9..48e3008 100644
--- a/Modules/CPackDeb.cmake
+++ b/Modules/CPackDeb.cmake
@@ -137,6 +137,30 @@
 #     Packages can declare in their control file that they should overwrite
 #     files in certain other packages, or completely replace other packages.
 ##end
+##variable
+# CPACK_DEBIAN_PACKAGE_RECOMMENDS
+#     Mandatory : NO
+#     Default   : -
+#     see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
+#     Allows packages to declare a strong, but not absolute, dependency on other packages.
+##end
+##variable
+# CPACK_DEBIAN_PACKAGE_SUGGESTS
+#     Mandatory : NO
+#     Default   : -
+#     see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
+#     Allows packages to declare a suggested package install grouping.
+##end
+##variable
+# CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA
+#     Mandatory : NO
+#     Default   : -
+#     This variable allow advanced user to add custom script to the control.tar.gz 
+#     Typical usage is for conffiles, postinst, postrm, prerm.
+#     Usage: SET(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA
+#            "${CMAKE_CURRENT_SOURCE_DIR/prerm;${CMAKE_CURRENT_SOURCE_DIR}/postrm")
+##end
+
 
 #=============================================================================
 # Copyright 2007-2009 Kitware, Inc.
-- 
1.7.9.5

