mirror of
https://github.com/moparisthebest/pacman
synced 2025-03-11 07:31:04 -04:00
contrib: add install rules for bash and zsh completion
Uninstall rules are provided as well. Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
2ce4f85f1e
commit
566f5210ce
@ -64,6 +64,16 @@ $(OURFILES): Makefile
|
||||
|
||||
all-am: $(OURSCRIPTS) $(OURFILES)
|
||||
|
||||
install-data-local:
|
||||
$(MKDIR_P) $(DESTDIR)$(sysconfdir)/bash_completion.d/
|
||||
$(INSTALL_DATA) bash_completion $(DESTDIR)$(sysconfdir)/bash_completion.d/pacman
|
||||
$(MKDIR_P) $(DESTDIR)$(datarootdir)/zsh/site-functions/
|
||||
$(INSTALL_DATA) zsh_completion $(DESTDIR)$(datarootdir)/zsh/site-functions/_pacman
|
||||
|
||||
uninstall-local:
|
||||
$(RM) $(DESTDIR)$(sysconfdir)/bash_completion.d/pacman
|
||||
$(RM) $(DESTDIR)$(datarootdir)/zsh/site-functions/_pacman
|
||||
|
||||
bacman: $(srcdir)/bacman.in
|
||||
bash_completion: $(srcdir)/bash_completion.in
|
||||
paccache: $(srcdir)/paccache.in
|
||||
|
Loading…
x
Reference in New Issue
Block a user