+ifeq ($(MAKECMDGOALS), install)
+ @echo ""
+ @echo "Notmuch is now installed."
+ @echo ""
+ @echo "You may now want to install additional components to support using notmuch"
+ @echo "together with other software packages:"
+ @echo ""
+ @echo " make install-emacs"
+ @echo " make install-bash"
+ @echo " make install-zsh"
+ @echo ""
+endif
+
+install-desktop:
+ install -d $(DESTDIR)$(desktop_dir)
+ desktop-file-install --mode 0644 --dir $(DESTDIR)$(desktop_dir) notmuch.desktop
+
+install-bash:
+ install -d $(DESTDIR)$(bash_completion_dir)
+ install -m0644 contrib/notmuch-completion.bash \
+ $(DESTDIR)$(bash_completion_dir)/notmuch
+
+install-zsh:
+ install -d $(DESTDIR)$(zsh_completion_dir)
+ install -m0644 contrib/notmuch-completion.zsh \
+ $(DESTDIR)$(zsh_completion_dir)/notmuch