In Ubuntu you'll need to include this "INCDIR" statement to the install line in order to compile. If you don't, you end of with the error:
imapfilter.h:9:17: fatal error: lua.h: No such file or directory #include <lua.h>
Make sure to change the Lua version to match your install (check with lua -v at the command line):
lua -v
make -j all INCDIRS=-I/usr/include/lua5.3 LIBLUA=-llua5.3
There was an error while loading. Please reload this page.