From: Frédéric Marchal Date: Sat, 7 Mar 2015 12:33:30 +0000 (+0100) Subject: CMake pack command ignores git instead of svn X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5732b01f3c6a6407f059fb91f13f2b7a9c86a985;p=thirdparty%2Fsarg.git CMake pack command ignores git instead of svn The CMake command to create a package must ignore the .git directory. The .svn directory isn't used any more. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index cceeabd..9326bbb 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -395,5 +395,5 @@ SET(CPACK_PACKAGE_VERSION_MINOR "${sarg_REVISION}") SET(CPACK_PACKAGE_VERSION_PATCH "${sarg_BUILD}") SET(CPACK_GENERATOR TGZ) SET(CPACK_SOURCE_GENERATOR TGZ) -SET(CPACK_SOURCE_IGNORE_FILES "/.svn/" "/debian/" "/html/" "Makefile$" "config\\\\.log$" "config\\\\.status$" ".*~$" "\\\\.o$") +SET(CPACK_SOURCE_IGNORE_FILES "/.git/" "/debian/" "/html/" "Makefile$" "config\\\\.log$" "config\\\\.status$" ".*~$" "\\\\.o$") INCLUDE(CPack)