cpack: Do not package build dirs in source tarball
authorAndreas Schneider <asn@samba.org>
Fri, 22 Jun 2018 07:06:59 +0000 (09:06 +0200)
committerAndreas Schneider <asn@samba.org>
Tue, 28 Aug 2018 09:46:23 +0000 (11:46 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
CPackConfig.cmake

index 0d9bd8d7674f59a7965f2a261ca12db30f94c295..764419e21fb2b5da2e5779892c05a252c56e9da1 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;/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}")
 
 if (WIN32)