Debian package (and any other packages built using make install) now includes bash completion.

This commit is contained in:
Joey Hess 2015-07-13 12:26:06 -04:00
parent fd086c5752
commit 02d522a12e
3 changed files with 9 additions and 1 deletions

View file

@ -48,6 +48,8 @@ install: build install-docs Build/InstallDesktopFile
install git-annex $(DESTDIR)$(PREFIX)/bin install git-annex $(DESTDIR)$(PREFIX)/bin
ln -sf git-annex $(DESTDIR)$(PREFIX)/bin/git-annex-shell ln -sf git-annex $(DESTDIR)$(PREFIX)/bin/git-annex-shell
./Build/InstallDesktopFile $(PREFIX)/bin/git-annex || true ./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 test: git-annex
./git-annex test ./git-annex test

6
debian/changelog vendored
View file

@ -1,3 +1,5 @@
git-annex (5.20150713) unstable; urgency=medium
* Switched option parsing to use optparse-applicative. This was a very large * Switched option parsing to use optparse-applicative. This was a very large
and invasive change, and may have caused some minor behavior changes to and invasive change, and may have caused some minor behavior changes to
edge cases of option parsing. (For example, the metadata command no edge cases of option parsing. (For example, the metadata command no
@ -5,10 +7,14 @@
worked.) worked.)
* Bash completion code is built-in to git-annex, and can be enabled by * Bash completion code is built-in to git-annex, and can be enabled by
running: source <(git-annex --bash-completion-script git-annex) running: source <(git-annex --bash-completion-script git-annex)
* Debian package (and any other packages built using make install)
now includes bash completion.
* version --raw now works when run outside a git repository. * version --raw now works when run outside a git repository.
* assistant --startdelay now works when run outside a git repository. * assistant --startdelay now works when run outside a git repository.
* dead now accepts multiple --key options. * dead now accepts multiple --key options.
-- Joey Hess <id@joeyh.name> Fri, 10 Jul 2015 16:36:42 -0400
git-annex (5.20150710) unstable; urgency=medium git-annex (5.20150710) unstable; urgency=medium
* add: Stage symlinks the same as git add would, even if they are not a * add: Stage symlinks the same as git add would, even if they are not a

View file

@ -1,5 +1,5 @@
Name: git-annex Name: git-annex
Version: 5.20150710 Version: 5.20150713
Cabal-Version: >= 1.8 Cabal-Version: >= 1.8
License: GPL-3 License: GPL-3
Maintainer: Joey Hess <id@joeyh.name> Maintainer: Joey Hess <id@joeyh.name>