vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit be1c6aca9ccb50a4c381d40759dcfb21c9aa154c parent 3cfa1e9dfdee4f34725318fd63a96e3ec8429832 Author: Marc André Tanner <mat@brain-dump.org> Date: Mon, 3 Feb 2020 12:45:42 +0100 build: explicitly specify working directory for docker Otherwise the config.mk file generated by ./configure does not end up in the source tree and has no effect. Our Makefile does currently not support out of tree builds. Previously this worked because the WORKDIR within the Dockerfile was set to the vis source (and build) directory. Diffstat:
| M | Makefile | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile @@ -90,11 +90,11 @@ docker: clean $(DOCKER) exec vis apk update $(DOCKER) exec vis apk upgrade $(DOCKER) cp . vis:/build/vis - $(DOCKER) exec vis ./vis/configure CC='cc --static' \ + $(DOCKER) exec -w /build/vis vis ./configure CC='cc --static' \ --enable-acl \ --enable-lua \ --enable-lpeg-static - $(DOCKER) exec vis make -C vis VERSION="$(VERSION)" clean vis-single + $(DOCKER) exec -w /build/vis vis make VERSION="$(VERSION)" clean vis-single $(DOCKER) cp vis:/build/vis/vis-single vis $(DOCKER) kill vis