File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ HOOKSDIR ?= $(PREFIX)/share/aurpublish
44ZCOMPDIR ?= $(PREFIX ) /share/zsh/site-functions
55MANS = doc/aurpublish.1
66BASHCOMPDIR ?= $(shell pkg-config bash-completion --variable=completionsdir || echo '/usr/share/bash-completion/completions')
7+ FISHCOMPDIR ?= $(PREFIX ) /share/fish/vendor_completions.d
78
89edit = sed -e 's|@HOOKSDIR@|$(HOOKSDIR ) |g'
910
@@ -26,8 +27,10 @@ install: all
2627 install -m755 * .hook ' $(DESTDIR)$(HOOKSDIR)/'
2728 install -dm755 ' $(DESTDIR)$(ZCOMPDIR)'
2829 install -dm755 ' $(DESTDIR)$(BASHCOMPDIR)'
30+ install -dm755 ' $(DESTDIR)$(FISHCOMPDIR)'
2931 install -m644 completion/$(NAME ) .zsh ' $(DESTDIR)$(ZCOMPDIR)/_$(NAME)'
3032 install -m644 completion/$(NAME ) .bash ' $(DESTDIR)$(BASHCOMPDIR)/$(NAME)'
33+ install -m644 completion/$(NAME ) .fish ' $(DESTDIR)$(FISHCOMPDIR)/$(NAME).fish'
3134 for manfile in $( MANS) ; do \
3235 install -Dm644 $$ manfile -t $(DESTDIR )$(PREFIX ) /share/man/man$$ {manfile## *.}; \
3336 done
You can’t perform that action at this time.
0 commit comments