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(PROGRAMS myscript
    DESTINATION ${CMAKE_INSTALL_PREFIX}/sbin)

SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "An spectacular shell script")
SET(CPACK_PACKAGE_VENDOR "Me")
SET(CPACK_GENERATOR DEB)
SET(CPACK_PACKAGE_NAME ${PACKAGE_NAME})
SET(CPACK_PACKAGE_VERSION ${PACKAGE_VERSION})
SET(CPACK_PACKAGE_FILE_NAME
"${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
SET(CPACK_SYSTEM_NAME ${CMAKE_SYSTEM_NAME})
SET(CPACK_SOURCE_PACKAGE_FILE_NAME
"${CPACK_PACKAGE_NAME}-${PACKAGE_VERSION}-src")
SET(CPACK_SOURCE_IGNORE_FILES
"CMakeFiles;\\\\.tar\\\\.gz$;/_CPack_Packages/;CMakeCache;\\\\.o$;\\\\.so$;/CVS/;/\\\\.svn/;\\\\.swp$;\\\\.#;/#;.*~;cscope.*")
SET(CPACK_PACKAGE_CONTACT "[EMAIL PROTECTED]")

#
# .rpm and .deb packaging tools
#
SET(CPACK_DEB "ON")
INCLUDE(CPack)



after a "cmake ." call,

a "make package-source" provides me a correct source package.

but a "make package" provides me an empty debian files.

Thanks in advance for your expertise.

Jérôme
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to