aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorcebka@lenovo-laptop <cebka@lenovo-laptop>2010-03-17 17:24:35 +0300
committercebka@lenovo-laptop <cebka@lenovo-laptop>2010-03-17 17:24:35 +0300
commit80e0a6ac5f69911be278c7d1ae67c8027e903e5b (patch)
tree6b4e158e08f27d163c7ec17989f7aca1594d13ea /CMakeLists.txt
parent8ff54fd778dbbdf807312fb563c2c440a5101a2c (diff)
downloadrspamd-80e0a6ac5f69911be278c7d1ae67c8027e903e5b.tar.gz
rspamd-80e0a6ac5f69911be278c7d1ae67c8027e903e5b.zip
* Fix statistics of messages in controller
* Fix building and installing perl target * Fix learn command name * Controller's commands are now case insensitive * Statfiles can now be selected from popup list in cgi interface * Password for controller's commands can now be specified in cgi interface
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 dc6158b08..37630d51e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -485,7 +485,7 @@ ADD_CUSTOM_COMMAND(OUTPUT src/modules.c
IF(PERL_EXECUTABLE)
ADD_CUSTOM_COMMAND(OUTPUT perl/Makefile
- PRE_BUILD
+ DEPENDS perl/Makefile.PL
COMMAND ${PERL_EXECUTABLE} ./Makefile.PL
WORKING_DIRECTORY perl)
CONFIGURE_FILE(perl/Makefile.PL.in perl/Makefile.PL)
@@ -655,8 +655,6 @@ ENDIF(ENABLE_LUA MATCHES "ON")
# Perl lib
IF(PERL_EXECUTABLE)
- INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${PERL_EXECUTABLE} ./Makefile.PL WORKING_DIRECTORY perl)")
- INSTALL(CODE "EXECUTE_PROCESS(COMMAND make WORKING_DIRECTORY perl)")
INSTALL(CODE "EXECUTE_PROCESS(COMMAND make install WORKING_DIRECTORY perl)")
ENDIF(PERL_EXECUTABLE)