From: Vsevolod Stakhov Date: Mon, 25 Nov 2013 13:45:38 +0000 (+0000) Subject: Install default configs. X-Git-Tag: 0.6.0~16 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3cc51971dbb97713af22b2196b17f3a988f87b6a;p=rspamd.git Install default configs. --- 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"