Fix completion script (un)install.

This commit is contained in:
Arun Prakash Jana 2016-05-25 01:50:12 +05:30
parent fa5b38a2fc
commit bf3ec63f76
No known key found for this signature in database
GPG Key ID: C0A712ED95043DCB
2 changed files with 5 additions and 4 deletions

View File

@ -2,9 +2,10 @@ PREFIX ?= /usr/local
BINDIR ?= $(DESTDIR)$(PREFIX)/bin
MANDIR ?= $(DESTDIR)$(PREFIX)/share/man/man1
DOCDIR ?= $(DESTDIR)$(PREFIX)/share/doc/buku
BASHCOMPDIR = $(DESTDIR)$(PREFIX)/etc/bash_completion.d
FISHCOMPDIR = $(DESTDIR)$(PREFIX)/share/fish/vendor_completions.d
ZSHCOMPDIR = $(DESTDIR)$(PREFIX)/share/zsh/site-functions
BASHCOMPDIR = $(DESTDIR)/etc/bash_completion.d
FISHCOMPDIR = $(DESTDIR)/usr/share/fish/vendor_completions.d
ZSHCOMPDIR = $(DESTDIR)/usr/share/zsh/site-functions
.PHONY: all install install.comp uninstall uninstall.comp

View File

@ -98,7 +98,7 @@ Install shell completion scripts:
Remove shell completion scripts:
$ sudo make uninstall.comp
`PREFIX` is supported.
`DESTDIR` is supported.
## Installing with a package manager