From: alex Date: Sat, 25 Sep 2021 06:34:54 +0000 (-0700) Subject: streamlined install X-Git-Tag: v1.0.2^0 X-Git-Url: http://git.infiniteadaptability.org/?a=commitdiff_plain;h=8d84e1c4de0e3e814e13b70fca515b72b1a779fb;p=git-extra streamlined install updated bash completion install directory to use PREFIX --- diff --git a/Makefile b/Makefile index 51dc802..4578972 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,7 @@ PREFIX ?= /usr/local BINDIR ?= $(PREFIX)/bin -BASHCOMPPREFIX ?= /usr -BASHCOMPDIR ?= $(BASHCOMPPREFIX)/share/bash-completion/completions +BASHCOMPDIR ?= $(PREFIX)/share/bash-completion/completions all: @echo "git-extra is a shell script; nothing to make. Try 'make install' instead." @@ -20,6 +19,7 @@ install: uninstall: @rm -vrf \ - $(BINDIR)/git-ex + $(BINDIR)/git-ex \ + $(BASHCOMPDIR)/git-ex .PHONY: install uninstall check clean