diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-11-25 13:45:38 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-11-25 13:45:38 +0000 |
commit | 3cc51971dbb97713af22b2196b17f3a988f87b6a (patch) | |
tree | 31298fff9ba50949401d4114f1ac10e0d6961feb /CMakeLists.txt | |
parent | fd2259322f17d95700c9eea1d83710a564a42a0a (diff) | |
download | rspamd-3cc51971dbb97713af22b2196b17f3a988f87b6a.tar.gz rspamd-3cc51971dbb97713af22b2196b17f3a988f87b6a.zip |
Install default configs.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
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" |