From: Iannaccone, G. <gia...@in...> - 2008-11-21 20:57:36
|
Hi Luca, thanks for the patches. It looks very reasonable to me. I will commit them in the v2.0 branch soon. Thanks! -gianluca >-----Original Message----- >From: Luca Niccolini [mailto:luc...@gm...] >Sent: Friday, November 21, 2008 1:30 AM >To: com...@li... >Subject: [como-devel] CoMo install package > >Hello, >I am working on CoMo v2.0-onelab and I need to create >both RPM and DEB install packages starting from CoMo sources. >The process to create that kind of packages requires >the program to be installed in a directory like ><src_dir>/debian/<package_name> >before it can be packaged. >Unfortunately the installation process hardcode the value of variable >CMAKE_INSTALL_PREFIX >in como.conf.example and in como-build.h. > >I have introduced a new variable called CMAKE_DEST_PREFIX in which the >final destination >(after the installation via packet manager is done) >of the binaries can be specified. >It defaults to CMAKE_INSTALL_PREFIX if it is not defined. > >In the attachments you could find this little patch. >I think it can be useful for install packages creation. > >Luca |