Commit 39cea72e authored by Sergei Golubchik's avatar Sergei Golubchik

cmake: fix cpack_source_ignore_files

add defensive $ for filenames, don't include .gitattributes
and *.rpm, correct rules for *.gz and *.zip
parent 64172971
...@@ -15,18 +15,19 @@ ...@@ -15,18 +15,19 @@
SET(CPACK_SOURCE_IGNORE_FILES SET(CPACK_SOURCE_IGNORE_FILES
\\\\.git/ \\\\.git/
\\\\.gitignore \\\\.gitignore$
CMakeCache\\\\.txt \\\\.gitattributes$
cmake_dist\\\\.cmake CMakeCache\\\\.txt$
CPackSourceConfig\\\\.cmake cmake_dist\\\\.cmake$
CPackConfig.cmake CPackSourceConfig\\\\.cmake$
/cmake_install\\\\.cmake CPackConfig.cmake$
/CTestTestfile\\\\.cmake /cmake_install\\\\.cmake$
/CTestTestfile\\\\.cmake$
/CMakeFiles/ /CMakeFiles/
/version_resources/ /version_resources/
/_CPack_Packages/ /_CPack_Packages/
$\\\\.gz \\\\.gz$
$\\\\.zip \\\\.zip$
/CMakeFiles/ /CMakeFiles/
/version_resources/ /version_resources/
/_CPack_Packages/ /_CPack_Packages/
...@@ -50,5 +51,6 @@ include/config\\\\.h$ ...@@ -50,5 +51,6 @@ include/config\\\\.h$
include/my_config\\\\.h$ include/my_config\\\\.h$
/autom4te\\\\.cache/ /autom4te\\\\.cache/
errmsg\\\\.sys$ errmsg\\\\.sys$
\\\\.rpm$
# #
) )
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment