From c194129639b24186a8332ac6a576913b700b48cd Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 16 Jan 2017 10:39:56 +0100 Subject: single: include tools vis-{clipboard,complete,menu,open} These are called from vis only. So include them in the archive and set PATH to make vis find them. --- GNUmakefile | 2 +- vis-single.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 052c300..2cb1b37 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -188,6 +188,6 @@ standalone: clean single: standalone cp vis-single.sh vis-single strip vis - tar c vis lua/ | gzip -9 >> vis-single + tar c vis vis-clipboard vis-complete vis-menu vis-open lua/ | gzip -9 >> vis-single .PHONY: standalone local dependencies-common dependencies-local dependencies-clean diff --git a/vis-single.sh b/vis-single.sh index b6ff69e..e779b67 100755 --- a/vis-single.sh +++ b/vis-single.sh @@ -7,7 +7,7 @@ trap 'rm -rf "$VISTMP"' EXIT INT QUIT TERM HUP sed '1,/^__TAR_GZ_ARCHIVE_BELOW__$/d' "$0" | gzip -d | tar xC "$VISTMP" -"$VISTMP/vis" "$@" +PATH="$VISTMP:$PATH" "$VISTMP/vis" "$@" exit $? -- cgit v1.2.3