From 3cc51971dbb97713af22b2196b17f3a988f87b6a Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 25 Nov 2013 13:45:38 +0000 Subject: [PATCH] Install default configs. --- CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 38b654449..e9441852f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -999,6 +999,16 @@ LIST(LENGTH PLUGINSSRC RSPAMD_MODULES_NUM) CONFIGURE_FILE(config.h.in src/config.h) CONFIGURE_FILE(contrib/exim/local_scan.c.in contrib/exim/local_scan_rspamd.c @ONLY) +SET(CONFFILES + conf/composites.conf + conf/logging.conf + conf/metrics.conf + conf/modules.conf + conf/options.conf + conf/rspamd.conf + conf/statistic.conf + conf/workers.conf) + ######################### LINK SECTION ############################### ADD_EXECUTABLE(rspamd ${RSPAMDSRC} ${CONTRIBSRC} ${PLUGINSSRC}) @@ -1080,6 +1090,8 @@ INSTALL(FILES conf/2tld.inc RENAME 2tld.inc DESTINATION ${CONFDIR}) INSTALL(FILES conf/surbl-whitelist.inc RENAME surbl-whitelist.inc DESTINATION ${CONFDIR}) +INSTALL(FILES ${CONFFILES} DESTINATION ${CONFDIR}) + # Lua plugins FILE(GLOB LUA_PLUGINS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}/src/plugins/lua" -- 2.39.5