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)