Hi,<br><br>I am using the CVS version of CMake and I would like to use CMake only for its Packaging capabilities.<br><br>My project consists on only one bash script (which is not compile ;-) called for example "myscript".<br>
<br><br>SET(PACKAGE_NAME myscript)<br>SET(PACKAGE_VERSION 1.0)<br><br>#<br># Cpack configuration<br>#<br>INSTALL(PROGRAMS myscript<br> DESTINATION ${CMAKE_INSTALL_PREFIX}/sbin)<br><br>SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "An spectacular shell script")<br>
SET(CPACK_PACKAGE_VENDOR "Me")<br>SET(CPACK_GENERATOR DEB)<br>SET(CPACK_PACKAGE_NAME ${PACKAGE_NAME})<br>SET(CPACK_PACKAGE_VERSION ${PACKAGE_VERSION})<br>SET(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")<br>
SET(CPACK_SYSTEM_NAME ${CMAKE_SYSTEM_NAME})<br>SET(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${PACKAGE_VERSION}-src")<br>SET(CPACK_SOURCE_IGNORE_FILES "CMakeFiles;\\\\.tar\\\\.gz$;/_CPack_Packages/;CMakeCache;\\\\.o$;\\\\.so$;/CVS/;/\\\\.svn/;\\\\.swp$;\\\\.#;/#;.*~;cscope.*")<br>
SET(CPACK_PACKAGE_CONTACT "<a href="mailto:me@myplace.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">me@myplace.com</a>")<br><br>#<br># .rpm and .deb packaging tools<br>#<br>SET(CPACK_DEB "ON")<br>
INCLUDE(CPack)<br><br><br><br>after a "cmake ." call,<br>
<br>a "make package-source" provides me a correct source package.<br><br>but a "make package" provides me an empty debian files.<br><br>Thanks in advance for your expertise.<br><br>Jérôme<br>