Ignore all build and obj* directores
authorAndreas Schneider <asn@cryptomilk.org>
Wed, 28 Oct 2015 08:27:10 +0000 (09:27 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 28 Oct 2015 08:27:10 +0000 (09:27 +0100)
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
.gitignore
CPackConfig.cmake

index ec23b9b..3944fce 100644 (file)
@@ -1,7 +1,7 @@
 *.swp
 *~$
-build
-obj*
 tags
 cscope.*
 .ycm_extra_conf.pyc
+/build
+/obj*
index 5666c5a..574c8e5 100644 (file)
@@ -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)