diff options
author | Eric Bélanger <snowmaniscool@gmail.com> | 2012-06-24 17:50:22 -0400 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2012-06-25 00:01:32 +0200 |
commit | 0d3d63e3aa0adbd6a536ba187ec234f8b07364eb (patch) | |
tree | 9dd9f6968b2ef481b1f96ec7a12c7e7c897ed9b7 /Makefile | |
parent | d2ec5ab67d97aa69b09381cd2aafe59a9d2095c3 (diff) | |
download | devtools32-0d3d63e3aa0adbd6a536ba187ec234f8b07364eb.tar.xz |
Fix bash completions
With bash-completion 2.0, the completion must have the same name as the binary.
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -64,6 +64,10 @@ CROSSREPOMOVE_LINKS = \ extra2community \ community2extra +BASHCOMPLETION_LINKS = \ + archco \ + communityco + all: $(BINPROGS) $(SBINPROGS) bash_completion zsh_completion edit = sed -e "s|@pkgdatadir[@]|$(DESTDIR)$(PREFIX)/share/devtools|g" @@ -90,6 +94,7 @@ install: for l in ${CROSSREPOMOVE_LINKS}; do ln -sf crossrepomove $(DESTDIR)$(PREFIX)/bin/$$l; done ln -sf find-libdeps $(DESTDIR)$(PREFIX)/bin/find-libprovides install -Dm0644 bash_completion $(DESTDIR)/usr/share/bash-completion/completions/devtools + for l in ${BASHCOMPLETION_LINKS}; do ln -sf devtools $(DESTDIR)/usr/share/bash-completion/completions/$$l; done install -Dm0644 zsh_completion $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_devtools ln -sf archco $(DESTDIR)$(PREFIX)/bin/communityco |