summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2015-10-28 09:27:10 +0100
committerAndreas Schneider <asn@cryptomilk.org>2015-10-28 09:27:10 +0100
commitd1f796100c35ed89ce2ecd90cae564a0e9ac2315 (patch)
tree3a09d37451555cb6d2bdb51a506135b04fc578dd
parentef5e1e308bf4ebeef6270bb729ccdca4e4bd08bd (diff)
downloadcmocka-d1f796100c35ed89ce2ecd90cae564a0e9ac2315.tar.gz
cmocka-d1f796100c35ed89ce2ecd90cae564a0e9ac2315.tar.bz2
cmocka-d1f796100c35ed89ce2ecd90cae564a0e9ac2315.zip
Ignore all build and obj* directores
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--.gitignore4
-rw-r--r--CPackConfig.cmake2
2 files changed, 3 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index ec23b9b..3944fce 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,7 @@
*.swp
*~$
-build
-obj*
tags
cscope.*
.ycm_extra_conf.pyc
+/build
+/obj*
diff --git a/CPackConfig.cmake b/CPackConfig.cmake
index 5666c5a..574c8e5 100644
--- a/CPackConfig.cmake
+++ b/CPackConfig.cmake
@@ -19,7 +19,7 @@ set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSIO
### source generator
set(CPACK_SOURCE_GENERATOR "TGZ")
-set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]svn/;/[.]git/;.gitignore;obj*;tags;cscope.*;.ycm_extra_conf.pyc")
+set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]svn/;/[.]git/;.gitignore;/obj*/;tags;cscope.*;.ycm_extra_conf.pyc")
set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
if (WIN32)