vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 01e381f5c932a8c1a3c797b03e26419f87fc0370 parent 970965f2a30b07f09e53e5ea0082bcaee3c36992 Author: Christian Hesse <mail@eworm.de> Date: Thu, 24 Mar 2016 11:11:53 +0100 handle patch as usual source Diffstat:
| M | GNUmakefile | | | 12 | ++++++++---- |
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/GNUmakefile b/GNUmakefile @@ -100,7 +100,7 @@ dependency/build/libtermkey-install: dependency/build/libtermkey-build $(MAKE) -C $(dir $<)/$(LIBTERMKEY) PREFIX=$(DEPS_PREFIX) install-inc install-lib touch $@ -dependency/sources/lua-%: | dependency/sources +dependency/sources/lua-%.tar.gz: | dependency/sources wget -c -O $@.part http://www.lua.org/ftp/$(LIBLUA).tar.gz mv $@.part $@ [ -z $(LIBLUA_SHA1) ] || (echo '$(LIBLUA_SHA1) $@' | sha1sum -c) @@ -109,9 +109,13 @@ dependency/build/liblua-extract: dependency/sources/$(LIBLUA).tar.gz dependency/ tar xzf $< -C $(dir $@) touch $@ -dependency/build/liblua-patch: dependency/build/liblua-extract - cd $(dir $<) && ([ -e $(LIBLUA)-lpeg.patch ] || wget http://www.brain-dump.org/projects/vis/$(LIBLUA)-lpeg.patch) - cd $(dir $<)/$(LIBLUA) && patch -p1 < ../$(LIBLUA)-lpeg.patch +dependency/sources/lua-%-lpeg.patch: | dependency/sources + wget -c -O $@.part http://www.brain-dump.org/projects/vis/$(LIBLUA)-lpeg.patch + mv $@.part $@ + [ -z $(LIBLUA_LPEG_SHA1) ] || (echo '$(LIBLUA_LPEG_SHA1) $@' | sha1sum -c) + +dependency/build/liblua-patch: dependency/build/liblua-extract dependency/sources/$(LIBLUA)-lpeg.patch + cd $(dir $<)/$(LIBLUA) && patch -p1 < ../../sources/$(LIBLUA)-lpeg.patch touch $@ dependency/build/liblua-build: dependency/build/liblua-patch dependency/build/liblpeg-install