From 9b3cd2462a48ca942309e24f511db2ea1fddc95b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 21 Mar 2016 22:21:02 +0100 Subject: 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. --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 367d020..9fb3e00 100644 --- a/README.md +++ b/README.md @@ -47,8 +47,7 @@ In order to build vis you will need a C99 compiler as well as: Assuming these dependencies are met, execute: - $ ./configure && make - $ VIS_PATH=. ./vis config.h + $ ./configure && make && sudo make install By default the `configure` script will try to auto detect support for Lua. See `configure --help` for a list of supported options. You can -- cgit v1.2.3