+ $(call quiet,CXX,$(LDFLAGS)) $^ $(FINAL_LDFLAGS) -o $@
+
+notmuch.1.gz: notmuch.1
+ $(call quiet,gzip) --stdout $^ > $@
+
+install: all-without-message notmuch.1.gz
+ for d in $(DESTDIR)$(prefix)/bin/ $(DESTDIR)$(prefix)/share/man/man1 ; \
+ do \
+ install -d $$d ; \
+ done ;
+ install notmuch $(DESTDIR)$(prefix)/bin/
+ install -m0644 notmuch.1.gz $(DESTDIR)$(prefix)/share/man/man1/
+ @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"
+
+install-desktop:
+ install -d $(DESTDIR)$(desktop_dir)
+ desktop-file-install --mode 0644 --dir $(DESTDIR)$(desktop_dir) notmuch.desktop