mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Cmake build: Ignore also files with extension .patch --
These files should not be installed.
This commit is contained in:
parent
330e52b9cb
commit
5f5c966b19
@ -55,7 +55,7 @@ macro(lyx_install _what _parent_src_dir _gl_dir _file_type)
|
|||||||
list(REMOVE_ITEM files_list "${_current_item}")
|
list(REMOVE_ITEM files_list "${_current_item}")
|
||||||
else()
|
else()
|
||||||
if ("${_file_type}" STREQUAL "*")
|
if ("${_file_type}" STREQUAL "*")
|
||||||
foreach(_mask "/\\.[^/]+$" "\\.in$" "\\.py$" "CMakeLists\\.txt$" "\\.lyx~$")
|
foreach(_mask "/\\.[^/]+$" "\\.in$" "\\.py$" "\\.patch$" "CMakeLists\\.txt$" "\\.lyx~$")
|
||||||
if(_current_item MATCHES ${_mask})
|
if(_current_item MATCHES ${_mask})
|
||||||
#message(STATUS "removing item ${_current_item}")
|
#message(STATUS "removing item ${_current_item}")
|
||||||
list(REMOVE_ITEM files_list "${_current_item}")
|
list(REMOVE_ITEM files_list "${_current_item}")
|
||||||
|
@ -169,6 +169,7 @@ SET(CPACK_SOURCE_IGNORE_FILES
|
|||||||
"\\\\.swp$"
|
"\\\\.swp$"
|
||||||
"\\\\.my$"
|
"\\\\.my$"
|
||||||
"\\\\.pyc$"
|
"\\\\.pyc$"
|
||||||
|
"\\\\.patch$"
|
||||||
"~$"
|
"~$"
|
||||||
"/#"
|
"/#"
|
||||||
"/_CPack_Packages/"
|
"/_CPack_Packages/"
|
||||||
|
Loading…
Reference in New Issue
Block a user