From: Andreas Schneider Date: Wed, 28 Oct 2015 08:27:10 +0000 (+0100) Subject: Ignore all build and obj* directores X-Git-Tag: cmocka-1.1.1~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d1f796100c35ed89ce2ecd90cae564a0e9ac2315;p=platform%2Fupstream%2Fcmocka.git Ignore all build and obj* directores Signed-off-by: Andreas Schneider --- 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)