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 &quot;myscript&quot;.<br>


<br><br>SET(PACKAGE_NAME myscript)<br>SET(PACKAGE_VERSION 1.0)<br><br>#<br># Cpack configuration<br>#<br>INSTALL(PROGRAMS myscript<br>&nbsp;&nbsp;&nbsp; DESTINATION ${CMAKE_INSTALL_PREFIX}/sbin)<br><br>SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY &quot;An spectacular shell script&quot;)<br>


SET(CPACK_PACKAGE_VENDOR &quot;Me&quot;)<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 &quot;${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}&quot;)<br>


SET(CPACK_SYSTEM_NAME ${CMAKE_SYSTEM_NAME})<br>SET(CPACK_SOURCE_PACKAGE_FILE_NAME &quot;${CPACK_PACKAGE_NAME}-${PACKAGE_VERSION}-src&quot;)<br>SET(CPACK_SOURCE_IGNORE_FILES &quot;CMakeFiles;\\\\.tar\\\\.gz$;/_CPack_Packages/;CMakeCache;\\\\.o$;\\\\.so$;/CVS/;/\\\\.svn/;\\\\.swp$;\\\\.#;/#;.*~;cscope.*&quot;)<br>


SET(CPACK_PACKAGE_CONTACT &quot;<a href="mailto:me@myplace.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">me@myplace.com</a>&quot;)<br><br>#<br># .rpm and .deb packaging tools<br>#<br>SET(CPACK_DEB &quot;ON&quot;)<br>

INCLUDE(CPack)<br><br><br><br>after a &quot;cmake .&quot; call,<br>
<br>a &quot;make package-source&quot; provides me a correct source package.<br><br>but a &quot;make package&quot; provides me an empty debian files.<br><br>Thanks in advance for your expertise.<br><br>Jérôme<br>