]> source.dussan.org Git - rspamd.git/commitdiff
Install default configs.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 25 Nov 2013 13:45:38 +0000 (13:45 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 25 Nov 2013 13:45:38 +0000 (13:45 +0000)
CMakeLists.txt

index 38b6544499c03897c03c3ec0ba2d849c0fabb2d2..e9441852f26f15d005f7218cf6a9fde29b96bb72 100644 (file)
@@ -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"