Will try, thanks!

On Thu, Feb 19, 2009 at 21:53, Eric Noulard <eric.noul...@gmail.com> wrote:

> From CPackDeb.cmake I think you may include extra scripts in the
> control.tar.gz
> 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.
>



-- 
Bruno
http://iruel.net
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to