aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-11-04 12:42:14 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-11-04 12:42:14 +0000
commit3cf2f3130034e46ff0224cc576626599422e8401 (patch)
tree11c85e27beda01882a63b6ff3920610816d5ab4b /src/rspamadm/CMakeLists.txt
parent4d589bd8919effafcdb79005a3c2a5eb461480f3 (diff)
downloadrspamd-3cf2f3130034e46ff0224cc576626599422e8401.tar.gz
rspamd-3cf2f3130034e46ff0224cc576626599422e8401.zip
[Rework] Stop embedding rspamadm scripts into C
Diffstat (limited to 'src/rspamadm/CMakeLists.txt')
-rw-r--r--src/rspamadm/CMakeLists.txt9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/rspamadm/CMakeLists.txt b/src/rspamadm/CMakeLists.txt
index 752e23d8b..7e991372a 100644
--- a/src/rspamadm/CMakeLists.txt
+++ b/src/rspamadm/CMakeLists.txt
@@ -21,16 +21,7 @@ SET(RSPAMADMSRC rspamadm.c
${CMAKE_SOURCE_DIR}/src/worker.c
${CMAKE_SOURCE_DIR}/src/rspamd_proxy.c
${CMAKE_SOURCE_DIR}/src/log_helper.c)
-SET(RSPAMADMLUASRC
- ${CMAKE_CURRENT_SOURCE_DIR}/fuzzy_stat.lua
- ${CMAKE_CURRENT_SOURCE_DIR}/confighelp.lua)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
-ADD_CUSTOM_TARGET(rspamadm_lua_preprocess
- ${PERL_EXECUTABLE}
- "${CMAKE_SOURCE_DIR}/lua_preprocess.pl"
- "${CMAKE_CURRENT_SOURCE_DIR}"
- "${CMAKE_CURRENT_BINARY_DIR}"
- SOURCES ${RSPAMADMLUASRC} ${CMAKE_SOURCE_DIR}/lua_preprocess.pl)
IF (ENABLE_HYPERSCAN MATCHES "ON")
LIST(APPEND RSPAMADMSRC "${CMAKE_SOURCE_DIR}/src/hs_helper.c")
ENDIF()