aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-11-06 13:55:47 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-11-06 13:55:47 +0000
commit0c3e5ce444c31e286855eef2752ce597206a44d5 (patch)
tree439960852790a90c01d682b0efa3b53de3bd0be2
parent1dd3a94674f06f0cd85cd6f698ddcee95b7c7330 (diff)
downloadrspamd-0c3e5ce444c31e286855eef2752ce597206a44d5.tar.gz
rspamd-0c3e5ce444c31e286855eef2752ce597206a44d5.zip
[Conf] Install examples
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6daced05a..fc14da0d8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -716,7 +716,9 @@ MATH(EXPR CONFLIST_MAX ${CONFLIST_COUNT}-1)
FILE(GLOB_RECURSE CONF_FILES RELATIVE "${CMAKE_SOURCE_DIR}/conf" CONFIGURE_DEPENDS
"${CMAKE_SOURCE_DIR}/conf/*.conf"
- "${CMAKE_SOURCE_DIR}/conf/*.inc")
+ "${CMAKE_SOURCE_DIR}/conf/*.inc"
+ "${CMAKE_SOURCE_DIR}/conf/*.lua.example"
+ "${CMAKE_SOURCE_DIR}/conf/*.conf.example")
FOREACH (CONF_FILE ${CONF_FILES})
GET_FILENAME_COMPONENT(_rp ${CONF_FILE} PATH)
INSTALL(CODE "FILE(MAKE_DIRECTORY \$ENV{DESTDIR}${CONFDIR}/${_rp})")