cmake: add cpack source stuff
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
79a2a6ad16
commit
34cd0f5631
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue