[CMake] Post install scripts for debian

Eric Noulard eric.noulard at gmail.com
Mon Oct 19 06:41:30 EDT 2009


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


More information about the CMake mailing list