diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-04-01 21:51:18 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-04-01 21:51:18 (GMT) |
commit | 38a99f54e3232fdb00cd7ffdd675f9fd4f4a5af6 (patch) | |
tree | eff34713e9b45a3b31a1832efbbb312779f790a8 /Modules | |
parent | 2efad09d923380817eb62d6f9a56eb44f141ea21 (diff) | |
download | CMake-38a99f54e3232fdb00cd7ffdd675f9fd4f4a5af6.zip CMake-38a99f54e3232fdb00cd7ffdd675f9fd4f4a5af6.tar.gz CMake-38a99f54e3232fdb00cd7ffdd675f9fd4f4a5af6.tar.bz2 |
ENH: add CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA variable
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CPackDeb.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Modules/CPackDeb.cmake b/Modules/CPackDeb.cmake index fa18966..190aa34 100644 --- a/Modules/CPackDeb.cmake +++ b/Modules/CPackDeb.cmake @@ -88,6 +88,17 @@ ENDIF(NOT CPACK_DEBIAN_PACKAGE_PRIORITY ) # Suggests: # You should set: CPACK_DEBIAN_PACKAGE_SUGGESTS +# CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA +# This variable allow advanced user to add custom script to the control.tar.gz (inside the .deb archive) +# Typical examples are: +# - conffiles +# - postinst +# - postrm +# - prerm" +# Usage: +# SET(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA +# "${CMAKE_CURRENT_SOURCE_DIR/prerm;${CMAKE_CURRENT_SOURCE_DIR}/postrm") + # For debian source packages: # debian/control |