diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-05-18 16:50:34 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-05-18 16:50:34 +0100 |
commit | caa48320d8af752624faedb53bad20229c905cb2 (patch) | |
tree | 64668fcc3698662442d4aedc4bcaa5eb3de289ee /CMakeLists.txt | |
parent | 8e4777724dd6119782bee59e558f0c92493be6a0 (diff) | |
download | rspamd-caa48320d8af752624faedb53bad20229c905cb2.tar.gz rspamd-caa48320d8af752624faedb53bad20229c905cb2.zip |
[Minor] Fix installation
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 18604702b..26e49e0e1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1327,7 +1327,7 @@ FOREACH(LUA_PLUGIN ${LUA_PLUGINS}) ENDFOREACH(LUA_PLUGIN) # Install lua fun library -INSTALL(FILES "contrib/lua-fun/fun.lua" DESTINATION ${PLUGINSDIR}/lua) +INSTALL(FILES "contrib/lua-fun/fun.lua" DESTINATION ${LUALIBDIR}/lua) # Install TLD list INSTALL(FILES "contrib/publicsuffix/effective_tld_names.dat" DESTINATION @@ -1348,7 +1348,7 @@ FILE(GLOB_RECURSE LUA_LIBS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}/lualib" FOREACH(LUA_LIB ${LUA_LIBS}) GET_FILENAME_COMPONENT(_rp ${LUA_LIB} PATH) INSTALL(CODE "FILE(MAKE_DIRECTORY \$ENV{DESTDIR}${LUALIBDIR}/${_rp})") - INSTALL(FILES "rules/${LUA_LIB}" DESTINATION ${LUALIBDIR}/${_rp}) + INSTALL(FILES "lualib/${LUA_LIB}" DESTINATION ${LUALIBDIR}/${_rp}) ENDFOREACH(LUA_LIB) # systemd unit |