aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-03-15 13:48:48 +0000
committerGitHub <noreply@github.com>2021-03-15 13:48:48 +0000
commitc0c3cb7fc447bde0bb1e26c72a319546df6e1c6a (patch)
treead2b0a9f05e3dd2280ca8116f265928d7ae8dff4
parent7c95a5baa0901af763a09ea684fb07da95f9d06c (diff)
parent166c95c115a3d31d07172a5f2502165dbde22d53 (diff)
downloadrspamd-c0c3cb7fc447bde0bb1e26c72a319546df6e1c6a.tar.gz
rspamd-c0c3cb7fc447bde0bb1e26c72a319546df6e1c6a.zip
Merge pull request #3677 from a16bitsysop/conf
[Minor] Make "INSTALL GLOB_RECURSE" for conf match conf and inc files
-rw-r--r--CMakeLists.txt3
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})")