cmake: Fixed source package generation

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Félix C. Morency 2008-06-21 19:43:22 -07:00 committed by Julien Danjou
parent 7106c9bcad
commit d42cdc47c3
1 changed files with 9 additions and 1 deletions

View File

@ -203,7 +203,15 @@ ENDFOREACH()
SET(CPACK_PACKAGE_NAME "${PROJECT_AWE_NAME}") SET(CPACK_PACKAGE_NAME "${PROJECT_AWE_NAME}")
SET(CPACK_GENERATOR "TBZ2") SET(CPACK_GENERATOR "TBZ2")
SET(CPACK_SOURCE_GENERATOR "TBZ2") SET(CPACK_SOURCE_GENERATOR "TBZ2")
SET(CPACK_SOURCE_IGNORE_FILES ".git;.*.swp$;.*~;.*patch;.gitignore") SET(CPACK_SOURCE_IGNORE_FILES
".git;.*.swp$;.*~;.*patch;.gitignore;${CMAKE_CURRENT_BINARY_DIR}")
FOREACH(file ${AWESOME_CONFIGURE_FILES})
STRING(REPLACE ".in" "" confheader ${file})
SET( CPACK_SOURCE_IGNORE_FILES
";${CPACK_SOURCE_IGNORE_FILES};${confheader}$;" )
ENDFOREACH()
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "A dynamic floating and tiling window manager") SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "A dynamic floating and tiling window manager")
SET(CPACK_PACKAGE_VENDOR "awesome development team") SET(CPACK_PACKAGE_VENDOR "awesome development team")
SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README") SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")