From d42cdc47c32d8840dc848baa36732061a6e43440 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20C=2E=20Morency?= Date: Sat, 21 Jun 2008 19:43:22 -0700 Subject: [PATCH] cmake: Fixed source package generation Signed-off-by: Julien Danjou --- awesomeConfig.cmake | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/awesomeConfig.cmake b/awesomeConfig.cmake index 5eda0f22..ebe34104 100644 --- a/awesomeConfig.cmake +++ b/awesomeConfig.cmake @@ -203,7 +203,15 @@ ENDFOREACH() 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_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_VENDOR "awesome development team") SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")