ENH: add CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA variable

This commit is contained in:
Bill Hoffman 2008-04-01 17:51:18 -04:00
parent 2efad09d92
commit 38a99f54e3
1 changed files with 11 additions and 0 deletions

View File

@ -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