aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.local
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2010-03-10 10:48:47 -0800
committerGravatar Carl Worth <cworth@cworth.org>2010-03-10 10:48:47 -0800
commitb6df83bef09aea6454d9a175615f640b60f12dd5 (patch)
tree0c760cad493d82fcaad26a20a7f7f067175281c1 /Makefile.local
parent985263cf5108919daf29228cb2827102d0a2272e (diff)
Makefile: Conditionalize the "make install" message.
This is the same approach as with the 'all' target previously.
Diffstat (limited to 'Makefile.local')
-rw-r--r--Makefile.local3
1 files changed, 3 insertions, 0 deletions
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)