aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2015-11-11 16:29:03 +0100
committerAndreas Schneider <asn@samba.org>2015-12-10 13:31:20 +0100
commit44ea878c339585dcd6ce7d1cc8821b141fd0304e (patch)
treef9b1994a703e9ce7ec63b7bc54a851c145b4f11c
parentffebdb9aace5c4a30393e59e214b152adb8a6550 (diff)
downloadpam_wrapper-44ea878c339585dcd6ce7d1cc8821b141fd0304e.tar.gz
pam_wrapper-44ea878c339585dcd6ce7d1cc8821b141fd0304e.tar.xz
pam_wrapper-44ea878c339585dcd6ce7d1cc8821b141fd0304e.zip
cmake: Ignore build directories
Signed-off-by: Andreas Schneider <asn@samba.org>
-rw-r--r--.gitignore4
-rw-r--r--CPackConfig.cmake2
2 files changed, 3 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 8fd1310..0baa4fa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,7 +3,7 @@
.*
*.swp
*~$
-build
-obj
cscope.*
tags
+/build
+/obj*
diff --git a/CPackConfig.cmake b/CPackConfig.cmake
index 1f363f3..3158a44 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;/build/;/obj/;tags;cscope.*")
+set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]svn/;/[.]git/;.gitignore;/build/;/obj*/;tags;cscope.*")
set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
set(CPACK_PACKAGE_INSTALL_DIRECTORY "pam_wrapper")