]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix installation
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 18 May 2017 15:50:34 +0000 (16:50 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 18 May 2017 15:50:34 +0000 (16:50 +0100)
CMakeLists.txt

index 18604702b6bc5d13d71af7c6abc09c1d49d6bdba..26e49e0e173349a72f68f66005af18f8a2282920 100644 (file)
@@ -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