From: Duncan Bellamy Date: Sun, 14 Mar 2021 00:05:13 +0000 (+0000) Subject: [Minor] Make "INSTALL GLOB_RECURSE" for conf match conf and inc files X-Git-Tag: 3.0~582^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=166c95c115a3d31d07172a5f2502165dbde22d53;p=rspamd.git [Minor] Make "INSTALL GLOB_RECURSE" for conf match conf and inc files Ignores files left by patch --- 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})")