aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2017-01-16 10:39:56 +0100
committerChristian Hesse <mail@eworm.de>2017-01-16 11:15:31 +0100
commitc194129639b24186a8332ac6a576913b700b48cd (patch)
treefabb0c16549df84f2837b2d379ac7851d8012595
parentfe700a826eaaf8348a9d720182bbebd169d9fd97 (diff)
downloadvis-c194129639b24186a8332ac6a576913b700b48cd.tar.gz
vis-c194129639b24186a8332ac6a576913b700b48cd.tar.xz
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.
-rw-r--r--GNUmakefile2
-rwxr-xr-xvis-single.sh2
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 $?