Fix cpack src ignore rule
authorRoland Schulz <roland@utk.edu>
Tue, 27 Nov 2012 22:19:22 +0000 (17:19 -0500)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Wed, 28 Nov 2012 18:38:33 +0000 (19:38 +0100)
Without excaping and $ .git applied to xdlgitem.c

Change-Id: If6674303dde356ee4ceef62b712aa38709e5aee0

CMakeLists.txt

index 5f86d83a4475ec87ea7cfce26ae0f1be7cd32567..e2aea85f4ef38e70a29d9b644f31bc0e044556e5 100644 (file)
@@ -80,7 +80,7 @@ set(CPACK_RESOURCE_FILE_WELCOME "${CMAKE_SOURCE_DIR}/admin/InstallWelcome.txt")
 # Its GPL/LGPL, so they do not have to agree to a license for mere usage, but some installers require this...
 set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/COPYING")
 set(CPACK_RESOURCE_FILE_README "${CMAKE_SOURCE_DIR}/admin/InstallInfo.txt")
-set(CPACK_SOURCE_IGNORE_FILES ".isreposource;.git;.gitignore")
+set(CPACK_SOURCE_IGNORE_FILES "\\\\.isreposource$;\\\\.git$;\\\\.gitignore$")
 set(CPACK_PROJECT_CONFIG_FILE "${CMAKE_SOURCE_DIR}/CPackInit.cmake")
 SET(CPACK_SOURCE_INSTALLED_DIRECTORIES "${CMAKE_SOURCE_DIR};/;${CMAKE_BINARY_DIR}/man;man")
 set(CPACK_PACKAGE_CONTACT "gmx-users@gromacs.org")