aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-05-28 17:33:54 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-05-28 17:33:54 +0400
commitda6966d272d5be3c8c5102fa00b355f77ffe80f0 (patch)
treefc0f5099c902474a2799e818f6123e7e55174d17 /CMakeLists.txt
parent00c7c629771af48e4bc0756ac9b2eb2bba26d583 (diff)
downloadrspamd-da6966d272d5be3c8c5102fa00b355f77ffe80f0.tar.gz
rspamd-da6966d272d5be3c8c5102fa00b355f77ffe80f0.zip
Check received for not more than 5 recipients.
Install lua configuration by default (as user's one should be in rspamd.local.lua).
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 690ac352d..025b6ff0f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1006,9 +1006,7 @@ FILE(GLOB_RECURSE LUA_CONFIGS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}/conf/lua" "$
FOREACH(LUA_CONF ${LUA_CONFIGS})
GET_FILENAME_COMPONENT(_rp ${LUA_CONF} PATH)
INSTALL(CODE "FILE(MAKE_DIRECTORY \$ENV{DESTDIR}${ETC_PREFIX}/rspamd/lua/${_rp})")
- IF(NOT EXISTS ${DESTDIR}/${ETC_PREFIX}/rspamd/lua/${LUA_CONF} OR BUILD_PORT)
- INSTALL(FILES "conf/lua/${LUA_CONF}" DESTINATION ${ETC_PREFIX}/rspamd/lua/${_rp})
- ENDIF(NOT EXISTS ${DESTDIR}/${ETC_PREFIX}/rspamd/lua/${LUA_CONF} OR BUILD_PORT)
+ INSTALL(FILES "conf/lua/${LUA_CONF}" DESTINATION ${ETC_PREFIX}/rspamd/lua/${_rp})
ENDFOREACH(LUA_CONF)
# Manual pages