summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2010-03-08 15:43:42 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2010-03-08 15:46:27 (GMT)
commita9ac761938441fc2e86314c8200f7f39a3c2c6c3 (patch)
treefd4ba62d9657b879966b17973cd086ae8a32d5ae
parente67acbfc01fc1993444c9d81ab77562eec5fc8fb (diff)
downloadCMake-a9ac761938441fc2e86314c8200f7f39a3c2c6c3.zip
CMake-a9ac761938441fc2e86314c8200f7f39a3c2c6c3.tar.gz
CMake-a9ac761938441fc2e86314c8200f7f39a3c2c6c3.tar.bz2
Add .git .bzr and .hg to the list of default CPack ignore directories.
-rw-r--r--Modules/CPack.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake
index 6e682b4..2991ada 100644
--- a/Modules/CPack.cmake
+++ b/Modules/CPack.cmake
@@ -926,7 +926,7 @@ cpack_set_if_not_set(CPACK_SOURCE_TOPLEVEL_TAG "${CPACK_SYSTEM_NAME}-Source")
cpack_set_if_not_set(CPACK_SOURCE_PACKAGE_FILE_NAME
"${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-Source")
cpack_set_if_not_set(CPACK_SOURCE_IGNORE_FILES
- "/CVS/;/\\\\\\\\.svn/;\\\\\\\\.swp$;\\\\\\\\.#;/#")
+ "/CVS/;/\\\\\\\\.svn/;/\\\\\\\\.bzr/;/\\\\\\\\.hg/;/\\\\\\\\.git/;\\\\\\\\.swp$;\\\\\\\\.#;/#")
SET(CPACK_INSTALL_CMAKE_PROJECTS "${CPACK_SOURCE_INSTALL_CMAKE_PROJECTS}")
SET(CPACK_INSTALLED_DIRECTORIES "${CPACK_SOURCE_INSTALLED_DIRECTORIES}")
SET(CPACK_GENERATOR "${CPACK_SOURCE_GENERATOR}")