vis: also lookup Lua support files relative to the binary location
commit9b3cd2462a48ca942309e24f511db2ea1fddc95b
authorMarc André Tanner <mat@brain-dump.org>
Mon, 21 Mar 2016 21:21:02 +0000 (21 22:21 +0100)
committerMarc André Tanner <mat@brain-dump.org>
Mon, 21 Mar 2016 21:41:27 +0000 (21 22:41 +0100)
tree009da77782848cfc8e6c1e83a49a0a1d7e6a08bb
parent83b495b0c10f065897cc420a92afc7ac41448c26
vis: also lookup Lua support files relative to the binary location

This simplifies deployment of vis on remote systems without root
access. The idea is to extract a statically linked binary together with
the lexer syntax files into some directory, adjust $PATH to include it
and have everything just work.

For now this uses /proc/self/exe and thus only works on Linux based
systems.
GNUmakefile
README.md
lexers/README.md
vis-lua.c
vis.1