summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-07-13 12:26:06 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-07-13 12:26:06 -0400
commit8e9ddfe41e73662be5c7fd0ebc6432a52b1dd227 (patch)
treebad104456e28a4184aa187d0011d803c6170f2c5 /Makefile
parent1e117dca23d096795232a87fdb3c2aa527354b23 (diff)
Debian package (and any other packages built using make install) now includes bash completion.
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