Add bash completion for xbps-*

This commit is contained in:
Eivind Uggedal
2014-09-09 12:59:34 +00:00
parent fb9c94fab9
commit 9f51036b3a
2 changed files with 97 additions and 0 deletions

View File

@@ -19,6 +19,12 @@ install:
install -m644 repod-main.conf $(DESTDIR)/$(PREFIX)/share/xbps/repo.d/00-main.conf
install -d $(DESTDIR)/$(PREFIX)/share/zsh/site-functions
install -m644 _xbps* $(DESTDIR)/$(PREFIX)/share/zsh/site-functions
install -d $(DESTDIR)/$(PREFIX)/share/bash-completion/completions
install -m644 xbps.bash $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/xbps
for file in xbps-checkvers xbps-create xbps-dgraph xbps-install \
xbps-pkgdb xbps-query xbps-reconfigure xbps-remove xbps-rindex; do \
ln -s xbps $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/$$file; \
done
.PHONY: uninstall
uninstall: