]> git.ipfire.org Git - thirdparty/sarg.git/commitdiff
CMake pack command ignores git instead of svn
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Sat, 7 Mar 2015 12:33:30 +0000 (13:33 +0100)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Sat, 7 Mar 2015 12:33:30 +0000 (13:33 +0100)
The CMake command to create a package must ignore the .git directory. The
.svn directory isn't used any more.

CMakeLists.txt

index cceeabd6a14605e5e2c1ce88e57ed964b31d25f7..9326bbb30b26a50ef7a3794f930503b7fb80b5a0 100755 (executable)
@@ -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)