summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-09-14 13:10:45 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-09-14 13:10:45 -0400
commit3cd42bf3b74125c34b8bff80e5ecbe08efff0815 (patch)
tree1e9feba8862de50b5cda7fbf4859ce284499e92f /Makefile
parent9c7542df2ab53df16b7fd6a677f624fe2088c3c5 (diff)
/dev/null stderr when generating completions
avoid usage display when too old optparse-applicative
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index be76bae22..aceb65cae 100644
--- a/Makefile
+++ b/Makefile
@@ -67,10 +67,10 @@ install-misc: build Build/InstallDesktopFile
install -d $(DESTDIR)$(PREFIX)/$(SHAREDIR)/bash-completion/completions
install -m 0644 bash-completion.bash $(DESTDIR)$(PREFIX)/$(SHAREDIR)/bash-completion/completions/git-annex
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"
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"
install: install-bins install-docs install-misc