From 8e9ddfe41e73662be5c7fd0ebc6432a52b1dd227 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 13 Jul 2015 12:26:06 -0400 Subject: Debian package (and any other packages built using make install) now includes bash completion. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3