mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 09:24:54 +01:00
Makefile: Conditionalize the "make install" message.
This is the same approach as with the 'all' target previously.
This commit is contained in:
parent
985263cf51
commit
b6df83bef0
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue