Fix CPACK_SOURCE_IGNORE_FILES
authorRoland Schulz <roland@utk.edu>
Wed, 28 Nov 2012 13:03:04 +0000 (08:03 -0500)
committerRoland Schulz <roland@utk.edu>
Wed, 28 Nov 2012 14:09:49 +0000 (09:09 -0500)
For files $ should be used but for directories / needs to be
used to match files in the folder and subfolders.

Change-Id: Ie328221517e7b55f727bf239249070ba090b52d6

CMakeLists.txt

index 092b5a6b7d5754820aa1d0893ac6596e07217ddc..cd3ba20b1a0f2a76e5a8a6faa47d800b90a921bf 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")