diff options
author | Duncan Bellamy <dunk@denkimushi.com> | 2021-03-14 00:05:13 +0000 |
---|---|---|
committer | Duncan Bellamy <dunk@denkimushi.com> | 2021-03-14 00:14:58 +0000 |
commit | 166c95c115a3d31d07172a5f2502165dbde22d53 (patch) | |
tree | e0af9052baad088638ac2b15f56b9be6170433d8 /CMakeLists.txt | |
parent | ea4b2ff1dbbd39d0d291bf7bcb2e8fba01ad9eab (diff) | |
download | rspamd-166c95c115a3d31d07172a5f2502165dbde22d53.tar.gz rspamd-166c95c115a3d31d07172a5f2502165dbde22d53.zip |
[Minor] Make "INSTALL GLOB_RECURSE" for conf match conf and inc files
Ignores files left by patch
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2843a2434..5ce315822 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -705,7 +705,8 @@ LIST(LENGTH CONFFILES CONFLIST_COUNT) MATH(EXPR CONFLIST_MAX ${CONFLIST_COUNT}-1) FILE(GLOB_RECURSE CONF_FILES RELATIVE "${CMAKE_SOURCE_DIR}/conf" CONFIGURE_DEPENDS - "${CMAKE_SOURCE_DIR}/conf/*" ) + "${CMAKE_SOURCE_DIR}/conf/*.conf" + "${CMAKE_SOURCE_DIR}/conf/*.inc" ) FOREACH(CONF_FILE ${CONF_FILES}) GET_FILENAME_COMPONENT(_rp ${CONF_FILE} PATH) INSTALL(CODE "FILE(MAKE_DIRECTORY \$ENV{DESTDIR}${CONFDIR}/${_rp})") |