aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-03-21 22:21:02 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-03-21 22:41:27 +0100
commit9b3cd2462a48ca942309e24f511db2ea1fddc95b (patch)
tree009da77782848cfc8e6c1e83a49a0a1d7e6a08bb /README.md
parent83b495b0c10f065897cc420a92afc7ac41448c26 (diff)
downloadvis-9b3cd2462a48ca942309e24f511db2ea1fddc95b.tar.gz
vis-9b3cd2462a48ca942309e24f511db2ea1fddc95b.tar.xz
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.
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 1 insertions, 2 deletions
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