diff --git a/Makefile b/Makefile index 437afb7ee2a..c471026dede 100644 --- a/Makefile +++ b/Makefile @@ -85,24 +85,24 @@ install-docs: docs install-mans rsync -a --delete html/ $(DESTDIR)$(PREFIX)/$(SHAREDIR)/doc/git-annex/html/; \ fi -install-bins: build +install-bins: install -d $(DESTDIR)$(PREFIX)/bin install git-annex $(DESTDIR)$(PREFIX)/bin ln -sf git-annex $(DESTDIR)$(PREFIX)/bin/git-annex-shell ln -sf git-annex $(DESTDIR)$(PREFIX)/bin/git-remote-tor-annex -install-desktop: build Build/InstallDesktopFile +install-desktop: Build/InstallDesktopFile ./Build/InstallDesktopFile $(PREFIX)/bin/git-annex || true -install-completions: build +install-completions: 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)$(ZSH_COMPLETIONS_PATH) ./git-annex --zsh-completion-script git-annex 2>/dev/null \ > $(DESTDIR)$(ZSH_COMPLETIONS_PATH)/_git-annex - install -d $(DESTDIR)$(PREFIX)/$(SHAREDIR)/fish/vendor_completions.d + install -d $(DESTDIR)$(PREFIX)/$(SHAREDIR)/fish/completions ./git-annex --fish-completion-script git-annex 2>/dev/null \ - > $(DESTDIR)$(PREFIX)/$(SHAREDIR)/fish/vendor_completions.d/git-annex.fish + > $(DESTDIR)$(PREFIX)/$(SHAREDIR)/fish/completions/git-annex.fish test: git-annex git-annex-shell ./git-annex test