[CMake] [CMake/CPack] empty debian package

Jerome Arbez-Gindre jerome.arbez-gindre at laposte.net
Fri Mar 28 06:17:56 EDT 2008


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 deb file with
                  ./usr/
                  ./usr/sbin/
                  ./usr/sbin/spm
       and a rpm file with
                  /usr
                  /usr/sbin
                  /usr/sbin/spm

INSTALL(PROGRAMS spm-check  DESTINATION ${DESTDIR}/etc/rc.d/init.d)
INSTALL(PROGRAMS spm DESTINATION sbin)
SET(CPACK_SET_DESTDIR ON)

==> gives a deb file with
                  ./usr/
                  ./usr/local/
                  ./usr/local/sbin/
                  ./usr/ocal/sbin/spm
       and a rpm file with
                  /etc
                  /etc/rc.d
                  /etc/rc.d/init.d
                  /etc/rc.d/init.d/spm-check
                  /usr
                  /usr/local
                  /usr/local/sbin
                  /usr/local/sbin/spm

(note the "local" !!!!)


Thank you all for your help

Jérôme
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080328/d911c6a7/attachment-0003.htm>


More information about the CMake mailing list