diff options
author | cebka@lenovo-laptop <cebka@lenovo-laptop> | 2010-03-03 19:34:51 +0300 |
---|---|---|
committer | cebka@lenovo-laptop <cebka@lenovo-laptop> | 2010-03-03 19:34:51 +0300 |
commit | 9097fc043e38a27241381e383b97e00254fbf711 (patch) | |
tree | 39dd2467542a289d22ad43daa6f80c572e8262e6 /CMakeLists.txt | |
parent | dda6a0c72bcfc98fd151df83f99cd3fbebb4ba76 (diff) | |
download | rspamd-9097fc043e38a27241381e383b97e00254fbf711.tar.gz rspamd-9097fc043e38a27241381e383b97e00254fbf711.zip |
* New Mail::Rspamd::Client
things TODO:
- improve interaction with rspamc
- improve documentation
- test all features
- test clustering
- write CGI front-end
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 22d2c21f0..dc6158b08 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -489,14 +489,13 @@ IF(PERL_EXECUTABLE) COMMAND ${PERL_EXECUTABLE} ./Makefile.PL WORKING_DIRECTORY perl) CONFIGURE_FILE(perl/Makefile.PL.in perl/Makefile.PL) -ENDIF(PERL_EXECUTABLE) -IF(ENABLE_PERL MATCHES "ON") - ADD_CUSTOM_TARGET(perlxs + ADD_CUSTOM_TARGET(perlmodule COMMAND make DEPENDS perl/Makefile WORKING_DIRECTORY perl VERBATIM) -ENDIF(ENABLE_PERL MATCHES "ON") + +ENDIF(PERL_EXECUTABLE) CONFIGURE_FILE(config.h.in src/config.h) CONFIGURE_FILE(rspamc.pl.in rspamc.pl @ONLY) @@ -520,6 +519,9 @@ IF(ENABLE_PERL MATCHES "ON") ADD_DEPENDENCIES(rspamd perlxs ${LEX_OUTPUT} ${YACC_OUTPUT}) ENDIF(ENABLE_PERL MATCHES "ON") +IF(PERL_EXECUTABLE) + ADD_DEPENDENCIES(rspamd perlmodule) +ENDIF(PERL_EXECUTABLE) IF(ENABLE_LUA MATCHES "ON") TARGET_LINK_LIBRARIES(rspamd rspamd_lua) |