]> infiniteadaptability.org Git - git-extra/commitdiff
streamlined install v1.0.2
authoralex <[email protected]>
Sat, 25 Sep 2021 06:34:54 +0000 (23:34 -0700)
committeralex <[email protected]>
Sat, 25 Sep 2021 06:34:54 +0000 (23:34 -0700)
updated bash completion install directory to use PREFIX

Makefile

index 51dc802688305d9a5ba2d0de8d106e8b41c09059..45789720b755a9743cfd085184db8872bf8674f0 100644 (file)
--- 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