No subject
Mon Dec 15 09:51:36 EST 2008
generated by CPack DEB generator.
# 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")
Thus I would try to
SET(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA
"/path/to/your/postinst")
where:
/path/to/your/postinst
is your custom post-installation script.
--
Erk
More information about the CMake
mailing list