From 34cd0f5631cd23142edc09c7c4aae01f2db30120 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 19 Jun 2008 22:56:00 +0200 Subject: [PATCH] cmake: add cpack source stuff Signed-off-by: Julien Danjou --- awesomeConfig.cmake | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/awesomeConfig.cmake b/awesomeConfig.cmake index 18f2322e1..4eca31177 100644 --- a/awesomeConfig.cmake +++ b/awesomeConfig.cmake @@ -153,15 +153,17 @@ EXECUTE_PROCESS(COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/build-utils/widgetgen.sh # Set the awesome include dir SET(AWE_INC_DIR ${CMAKE_CURRENT_SOURCE_DIR} ${AWE_MOD_INCLUDE_DIRS} ${LUA_INC_DIR}) -SET(CPACK_PACKAGE_NAME "${PROJECT_AWE_NAME}" ) -SET(CPACK_GENERATOR "TBZ2" ) -SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "A dynamic floating and tiling window manager" ) -SET(CPACK_PACKAGE_VENDOR "awesome development team" ) -SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README" ) -SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE" ) -SET(CPACK_PACKAGE_VERSION_MAJOR "${VERSION_MAJOR}" ) -SET(CPACK_PACKAGE_VERSION_MINOR "${VERSION_MINOR}" ) -SET(CPACK_PACKAGE_VERSION_PATCH "${VERSION_PATCH}" ) +SET(CPACK_PACKAGE_NAME "${PROJECT_AWE_NAME}") +SET(CPACK_GENERATOR "TBZ2") +SET(CPACK_SOURCE_GENERATOR "TBZ2") +SET(CPACK_SOURCE_IGNORE_FILES ".git;.*.swp$;.*~;.*patch;.gitignore") +SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "A dynamic floating and tiling window manager") +SET(CPACK_PACKAGE_VENDOR "awesome development team") +SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README") +SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE") +SET(CPACK_PACKAGE_VERSION_MAJOR "${VERSION_MAJOR}") +SET(CPACK_PACKAGE_VERSION_MINOR "${VERSION_MINOR}") +SET(CPACK_PACKAGE_VERSION_PATCH "${VERSION_PATCH}") INCLUDE(CPack)