Le Thu, 27 Mar 2008 21:40:16 -0400, Bill Hoffman <[EMAIL PROTECTED]> a écrit :
> Alan W. Irwin wrote: > > On 2008-03-28 00:51+0100 Alexander Neundorf wrote: > > > >> If you use install() with an absolute path DESTDIR is still > >> honored on "make > >> install". > >> But I just tried and while it works with "make install", it > >> doesn't when creating the packages, not only for deb, but lso for > >> the other formats. > >> > >>> This may be worth a feature request (or a patch :-). > >> > >> This actually sounds more like a cpack bug with absolute paths. > > > > Yes, that was reported by me as bug > > http://public.kitware.com/Bug/view.php?id=4993 in May last year. > > > > There is actually a simple patch to get absolute paths to work for > > CPack (see above bug report), but no action has been taken on that > > yet. > > > > Actually, it is fixed in 2.6 beta, I just never closed the bug. If > you set CPACK_SET_DESTDIR to ON in your CPack config file, then > DESTDIR will be used. This seems to work (at least) for TGZ, RPM, ZIP but not for the DEB generator ... I did not dig in the code to figure out why but the "data.tar.gz" inside: _CPack_Packages/Linux/DEB/ does not contains the absolute path. Here comes the pseudo project tar ball
myscript-1.0-src.tar.bz2
Description: application/bzip
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
