Re: [CMake] [CMake/CPack] empty debian package

2008-03-29 Thread Eric NOULARD
Le Sat, 29 Mar 2008 01:32:09 +0100, Alexander Neundorf <[EMAIL PROTECTED]> a écrit : > On Friday 28 March 2008, Eric Noulard wrote: > > 2008/3/28, Jerome Arbez-Gindre <[EMAIL PROTECTED]>: > ... > > I've submitted a bug report: > > http://public.kitware.com/Bug/view.php?id=6673 > > > > When using r

Re: [CMake] [CMake/CPack] empty debian package

2008-03-28 Thread Alexander Neundorf
On Friday 28 March 2008, Eric Noulard wrote: > 2008/3/28, Jerome Arbez-Gindre <[EMAIL PROTECTED]>: ... > I've submitted a bug report: > http://public.kitware.com/Bug/view.php?id=6673 > > When using relative path: > INSTALL(PROGRAMS spm DESTINATION sbin) > > the path is prefixed with CMAKE_INSTALL_P

Re: [CMake] [CMake/CPack] empty debian package

2008-03-28 Thread Eric Noulard
2008/3/28, Jerome Arbez-Gindre <[EMAIL PROTECTED]>: > Hi > > I think I'll give up to make debian packages with CMake/CPack and come back > to a more classical upstream/packager separate roles scheme. > > What I can see after having test: > > INSTALL(PROGRAMS spm-check DESTINATION ${DESTDIR}/etc/rc

Re: [CMake] [CMake/CPack] empty debian package

2008-03-28 Thread Jerome Arbez-Gindre
Hi I think I'll give up to make debian packages with CMake/CPack and come back to a more classical upstream/packager separate roles scheme. What I can see after having test: INSTALL(PROGRAMS spm-check DESTINATION ${DESTDIR}/etc/rc.d/init.d) INSTALL(PROGRAMS spm DESTINATION sbin) ==> gives a de

Re: [CMake] [CMake/CPack] empty debian package

2008-03-27 Thread Eric Noulard
2008/3/28, Bill Hoffman <[EMAIL PROTECTED]>: > > 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

Re: [CMake] [CMake/CPack] empty debian package

2008-03-27 Thread Eric NOULARD
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

Re: [CMake] [CMake/CPack] empty debian package

2008-03-27 Thread Bill Hoffman
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

Re: [CMake] [CMake/CPack] empty debian package

2008-03-27 Thread Alan W. Irwin
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

Re: [CMake] [CMake/CPack] empty debian package

2008-03-27 Thread Alexander Neundorf
On Thursday 27 March 2008, Eric Noulard wrote: > 2008/3/27, Jerome Arbez-Gindre <[EMAIL PROTECTED]>: > > Hi, > > Hi there :-) > > > I am using the CVS version of CMake and I would like to use CMake only > > for its Packaging capabilities. > > If you "only" want to package things you may > well only

Re: [CMake] [CMake/CPack] empty debian package

2008-03-27 Thread Eric Noulard
2008/3/27, Eric Noulard <[EMAIL PROTECTED]>: > 2008/3/27, Jerome Arbez-Gindre <[EMAIL PROTECTED]>: > > > > # > > # Cpack configuration > > # > > INSTALL(PROGRAMS myscript > > DESTINATION ${CMAKE_INSTALL_PREFIX}/sbin) > > This install command should be rewritten with relative path: I did

Re: [CMake] [CMake/CPack] empty debian package

2008-03-27 Thread Eric Noulard
2008/3/27, Jerome Arbez-Gindre <[EMAIL PROTECTED]>: > Hi, Hi there :-) > I am using the CVS version of CMake and I would like to use CMake only for > its Packaging capabilities. If you "only" want to package things you may well only use CPack without CMake, It should be possible if you craft you

[CMake] [CMake/CPack] empty debian package

2008-03-27 Thread Jerome Arbez-Gindre
Hi, I am using the CVS version of CMake and I would like to use CMake only for its Packaging capabilities. My project consists on only one bash script (which is not compile ;-) called for example "myscript". SET(PACKAGE_NAME myscript) SET(PACKAGE_VERSION 1.0) # # Cpack configuration # INSTALL(