]> source.dussan.org Git - rspamd.git/commitdiff
[Conf] Install examples
authorVsevolod Stakhov <vsevolod@rspamd.com>
Wed, 6 Nov 2024 13:55:47 +0000 (13:55 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Wed, 6 Nov 2024 13:55:47 +0000 (13:55 +0000)
CMakeLists.txt

index 6daced05a284193109a714866107f6d9d132ae22..fc14da0d80457b0aefd78ec068bd0414db7b8188 100644 (file)
@@ -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})")