/dev/null stderr when generating completions
avoid usage display when too old optparse-applicative
This commit is contained in:
parent
268a0cc664
commit
589184ccc3
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -67,10 +67,10 @@ install-misc: build Build/InstallDesktopFile
|
||||||
install -d $(DESTDIR)$(PREFIX)/$(SHAREDIR)/bash-completion/completions
|
install -d $(DESTDIR)$(PREFIX)/$(SHAREDIR)/bash-completion/completions
|
||||||
install -m 0644 bash-completion.bash $(DESTDIR)$(PREFIX)/$(SHAREDIR)/bash-completion/completions/git-annex
|
install -m 0644 bash-completion.bash $(DESTDIR)$(PREFIX)/$(SHAREDIR)/bash-completion/completions/git-annex
|
||||||
install -d $(DESTDIR)$(PREFIX)/$(SHAREDIR)/zsh/vendor-completions
|
install -d $(DESTDIR)$(PREFIX)/$(SHAREDIR)/zsh/vendor-completions
|
||||||
@./git-annex --zsh-completion-script git-annex > $(DESTDIR)$(PREFIX)/$(SHAREDIR)/zsh/vendor-completions/_git-annex || \
|
@./git-annex --zsh-completion-script git-annex 2>/dev/null > $(DESTDIR)$(PREFIX)/$(SHAREDIR)/zsh/vendor-completions/_git-annex || \
|
||||||
echo "** zsh completions not installed; built with too old version of optparse-applicative"
|
echo "** zsh completions not installed; built with too old version of optparse-applicative"
|
||||||
install -d $(DESTDIR)$(PREFIX)/$(SHAREDIR)/fish/completions
|
install -d $(DESTDIR)$(PREFIX)/$(SHAREDIR)/fish/completions
|
||||||
@./git-annex --fish-completion-script git-annex > $(DESTDIR)$(PREFIX)/$(SHAREDIR)/fish/completions/git-annex.fish || \
|
@./git-annex --fish-completion-script git-annex 2>/dev/null > $(DESTDIR)$(PREFIX)/$(SHAREDIR)/fish/completions/git-annex.fish || \
|
||||||
echo "** fish completions not installed; built with too old version of optparse-applicative"
|
echo "** fish completions not installed; built with too old version of optparse-applicative"
|
||||||
|
|
||||||
install: install-bins install-docs install-misc
|
install: install-bins install-docs install-misc
|
||||||
|
|
Loading…
Reference in a new issue