summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1ce0a5f9b..2f7d3b244 100644
--- a/Makefile
+++ b/Makefile
@@ -48,6 +48,8 @@ install: build install-docs Build/InstallDesktopFile
install git-annex $(DESTDIR)$(PREFIX)/bin
ln -sf git-annex $(DESTDIR)$(PREFIX)/bin/git-annex-shell
./Build/InstallDesktopFile $(PREFIX)/bin/git-annex || true
+ install -d $(DESTDIR)$(PREFIX)/share/bash-completion/completions
+ ./git-annex --bash-completion-script git-annex > $(DESTDIR)$(PREFIX)/share/bash-completion/completions/git-annex
test: git-annex
./git-annex test