[CMake] Post install scripts for debian

as rmctodd at gmail.com
Tue Oct 20 14:40:32 EDT 2009


Mathieu, Eric:

Merci! Strangely when I searched online, I didn't find the link that
Mathieu sent. The command that Eric suggested worked fine. I was able
to test it only today.

Thanks again. I have updated the wiki pages as well.

Aravind.

On 10/19/09, Eric Noulard <eric.noulard at gmail.com> wrote:
> 2009/10/19 Mathieu Malaterre <mathieu.malaterre at gmail.com>:
>
> > On Fri, Oct 16, 2009 at 8:15 PM, Eric Noulard <eric.noulard at gmail.com> wrote:
>  >> 2009/10/16 as <rmctodd at gmail.com>:
>  >>> Hello:
>  >>>
>  >>> We are using CMake to create inhouse deb packages for our project. We
>  >>> need to run a script after installing the package: postinst script
>  >>> which is possible in Debian. I don't know how to enable this from
>  >>> CMake - do I set some flags? Do I just put the file in a particular
>  >>> location? I'm not able to find much help on the web.
>  >>
>  >> Normally information about CPack generator may be found on the Wiki
>  >>  http://www.cmake.org/Wiki/CMake:CPackPackageGenerators
>  >>
>  >
>  > Actually it is located here:
>  > http://www.itk.org/Wiki/CMake:CPackConfiguration#Debian_settings
>
>
> OK right.
>  Thank you Mathieu,
>
>  I did add a link on both pages because
>  some informations may be found on both pages and some
>  may only be found in one of them.
>
>  May be those pages would benefit a clean merge...
>  I may try that later.
>
>
>  --
>  Erk
>  Membre de l'April - « promouvoir et défendre le logiciel libre » -
>  http://www.april.org
>  _______________________________________________
>
> 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
>


More information about the CMake mailing list