Fix completion script (un)install.
This commit is contained in:
parent
fa5b38a2fc
commit
bf3ec63f76
7
Makefile
7
Makefile
@ -2,9 +2,10 @@ PREFIX ?= /usr/local
|
|||||||
BINDIR ?= $(DESTDIR)$(PREFIX)/bin
|
BINDIR ?= $(DESTDIR)$(PREFIX)/bin
|
||||||
MANDIR ?= $(DESTDIR)$(PREFIX)/share/man/man1
|
MANDIR ?= $(DESTDIR)$(PREFIX)/share/man/man1
|
||||||
DOCDIR ?= $(DESTDIR)$(PREFIX)/share/doc/buku
|
DOCDIR ?= $(DESTDIR)$(PREFIX)/share/doc/buku
|
||||||
BASHCOMPDIR = $(DESTDIR)$(PREFIX)/etc/bash_completion.d
|
|
||||||
FISHCOMPDIR = $(DESTDIR)$(PREFIX)/share/fish/vendor_completions.d
|
BASHCOMPDIR = $(DESTDIR)/etc/bash_completion.d
|
||||||
ZSHCOMPDIR = $(DESTDIR)$(PREFIX)/share/zsh/site-functions
|
FISHCOMPDIR = $(DESTDIR)/usr/share/fish/vendor_completions.d
|
||||||
|
ZSHCOMPDIR = $(DESTDIR)/usr/share/zsh/site-functions
|
||||||
|
|
||||||
.PHONY: all install install.comp uninstall uninstall.comp
|
.PHONY: all install install.comp uninstall uninstall.comp
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ Install shell completion scripts:
|
|||||||
Remove shell completion scripts:
|
Remove shell completion scripts:
|
||||||
|
|
||||||
$ sudo make uninstall.comp
|
$ sudo make uninstall.comp
|
||||||
`PREFIX` is supported.
|
`DESTDIR` is supported.
|
||||||
|
|
||||||
## Installing with a package manager
|
## Installing with a package manager
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user