vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 7ff12acee6fc4d7931d18208dee2a2689c17995b parent 23a9a7376c771f4a3554cc6e036dde6120e8870d Author: Marc André Tanner <mat@brain-dump.org> Date: Sun, 8 Nov 2015 14:52:00 +0100 Mention make local in README Diffstat:
| M | Makefile | | | 3 | ++- |
| M | README.md | | | 4 | +++- |
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile @@ -204,5 +204,6 @@ local: dependencies standalone: dependency/sources/install-libmusl PATH=$(DEPS_BIN):$$PATH CC=musl-gcc PKG_CONFIG_PATH= PKG_CONFIG_LIBDIR= CFLAGS=-I$(DEPS_INC)/ncursesw $(MAKE) dependencies-full PATH=$(DEPS_BIN):$$PATH CC=musl-gcc PKG_CONFIG_PATH= PKG_CONFIG_LIBDIR= CFLAGS="--static -Wl,--as-needed -I$(DEPS_INC)/ncursesw" $(MAKE) CFLAGS_LIBS= debug + @echo Run with: VIS_PATH=. ./vis -.PHONY: all clean dist install uninstall debug profile standalone dependencies dependencies-full directories +.PHONY: all clean dist install uninstall debug profile standalone dependencies dependencies-full local diff --git a/README.md b/README.md @@ -616,7 +616,9 @@ In order to build vis you will need a C99 compiler as well as: If you want a self contained statically linked binary you can try to run `make standalone` which will attempt to download, compile -and install all of the above dependencies. +and install all of the above dependencies. `make local` will do +the same but only for libtermkey, lua and LPeg (i.e. the system +C and curses libraries are used). To build a regular dynamically linked binary using the system libraries, simply run `make` (possibly after adapting `config.mk`