vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 970965f2a30b07f09e53e5ea0082bcaee3c36992
parent f9eba3187100e92c384d157ca2a0cc8c373ecef7
Author: Christian Hesse <mail@eworm.de>
Date:   Thu, 24 Mar 2016 09:56:45 +0100

make sure build directory exists

Signed-off-by: Christian Hesse <mail@eworm.de>

Diffstat:
MGNUmakefile | 15+++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/GNUmakefile b/GNUmakefile @@ -33,15 +33,18 @@ LIBNCURSES_CONFIG = --disable-database --with-fallbacks=st,st-256color,xterm,xte --without-tests --without-progs --without-debug --without-profile \ --without-cxx-shared --without-termlib --without--ticlib +dependency/build: + mkdir -p "$@" + dependency/sources: - mkdir -p "$@" "$(dir $@)/build" + mkdir -p "$@" dependency/sources/musl-%: | dependency/sources wget -c -O $@.part http://www.musl-libc.org/releases/$(LIBMUSL).tar.gz mv $@.part $@ [ -z $(LIBMUSL_SHA1) ] || (echo '$(LIBMUSL_SHA1) $@' | sha1sum -c) -dependency/build/libmusl-extract: dependency/sources/$(LIBMUSL).tar.gz +dependency/build/libmusl-extract: dependency/sources/$(LIBMUSL).tar.gz dependency/build tar xzf $< -C $(dir $@) touch $@ @@ -62,7 +65,7 @@ dependency/sources/ncurses-%: | dependency/sources mv $@.part $@ [ -z $(LIBNCURSES_SHA1) ] || (echo '$(LIBNCURSES_SHA1) $@' | sha1sum -c) -dependency/build/libncurses-extract: dependency/sources/$(LIBNCURSES).tar.gz +dependency/build/libncurses-extract: dependency/sources/$(LIBNCURSES).tar.gz dependency/build tar xzf $< -C $(dir $@) touch $@ @@ -83,7 +86,7 @@ dependency/sources/libtermkey-%: | dependency/sources mv $@.part $@ [ -z $(LIBTERMKEY_SHA1) ] || (echo '$(LIBTERMKEY_SHA1) $@' | sha1sum -c) -dependency/build/libtermkey-extract: dependency/sources/$(LIBTERMKEY).tar.gz +dependency/build/libtermkey-extract: dependency/sources/$(LIBTERMKEY).tar.gz dependency/build tar xzf $< -C $(dir $@) touch $@ @@ -102,7 +105,7 @@ dependency/sources/lua-%: | dependency/sources mv $@.part $@ [ -z $(LIBLUA_SHA1) ] || (echo '$(LIBLUA_SHA1) $@' | sha1sum -c) -dependency/build/liblua-extract: dependency/sources/$(LIBLUA).tar.gz +dependency/build/liblua-extract: dependency/sources/$(LIBLUA).tar.gz dependency/build tar xzf $< -C $(dir $@) touch $@ @@ -125,7 +128,7 @@ dependency/sources/lpeg-%: | dependency/sources mv $@.part $@ [ -z $(LIBLPEG_SHA1) ] || (echo '$(LIBLPEG_SHA1) $@' | sha1sum -c) -dependency/build/liblpeg-extract: dependency/sources/$(LIBLPEG).tar.gz +dependency/build/liblpeg-extract: dependency/sources/$(LIBLPEG).tar.gz dependency/build tar xzf $< -C $(dir $@) touch $@