From b6df83bef09aea6454d9a175615f640b60f12dd5 Mon Sep 17 00:00:00 2001
From: Carl Worth <cworth@cworth.org>
Date: Wed, 10 Mar 2010 10:48:47 -0800
Subject: [PATCH] Makefile: Conditionalize the "make install" message.

This is the same approach as with the 'all' target previously.
---
 Makefile.local | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile.local b/Makefile.local
index 6d29790b..3c2a6299 100644
--- a/Makefile.local
+++ b/Makefile.local
@@ -33,6 +33,7 @@ install: all notmuch.1.gz
 	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 ""
@@ -42,6 +43,8 @@ install: all notmuch.1.gz
 	@echo "	make install-emacs"
 	@echo "	make install-bash"
 	@echo "	make install-zsh"
+	@echo ""
+endif
 
 install-desktop:
 	install -d $(DESTDIR)$(desktop_dir)
-- 
2.45.2