commit 166c95c: [Minor] Make "INSTALL GLOB_RECURSE" for conf match conf and inc files Ignores files left by patch
Duncan Bellamy
dunk at denkimushi.com
Mon Mar 15 13:49:05 UTC 2021
Author: Duncan Bellamy
Date: 2021-03-14 00:05:13 +0000
URL: https://github.com/rspamd/rspamd/commit/166c95c115a3d31d07172a5f2502165dbde22d53 (refs/pull/3677/head)
[Minor] Make "INSTALL GLOB_RECURSE" for conf match conf and inc files Ignores files left by patch
---
CMakeLists.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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})")
More information about the Commits
mailing list