From: Luca N. <luc...@gm...> - 2008-11-20 13:31:15
|
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 |