On Tuesday 18 December 2007, Raphael Cotty wrote: > Hi, > The first issue is that the debian packager is inserting a "usr" directory: > > If my CMAKE_INSTALL_PREFIX is "/dev/install" and in my CMakeLists.txt I > have: > INSTALL( FILES foo DESTINATION "etc" ) then the make install will copy foo > to "/dev/install/etc". > > Then the DEB packaging will create a debian package which will install foo > in "/usr/etc/". > > This is done in CPack/cmCPackDebGenerator.cxx, as I tried to explain in the > previous post.
Ok. Would it help if CPACK_PACKAGING_INSTALL_PREFIX was initialized to CMAKE_INSTALL_PREFIX ? Is there a reason why this isn't the case ? Alex _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake