notmuch.1.gz: notmuch.1
$(call quiet,gzip) --stdout $^ > $@
-install: all-without-message notmuch.1.gz
+install: all 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/
+ifeq ($(MAKECMDGOALS), install)
@echo ""
@echo "Notmuch is now installed."
@echo ""
@echo " make install-emacs"
@echo " make install-bash"
@echo " make install-zsh"
+ @echo ""
+endif
install-desktop:
install -d $(DESTDIR)$(desktop_dir)