X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=Makefile.local;h=38ead11dd8dde9d3e6cba828e4addb8315a38e37;hp=f9b5a9b3417c7bec2c159df3e656a71434c6676c;hb=1a915d1b3852c5771507710ed470547b53b1c7ec;hpb=44ea57a0d10ddab514abea319c4d25ec4e36b51e diff --git a/Makefile.local b/Makefile.local index f9b5a9b3..38ead11d 100644 --- a/Makefile.local +++ b/Makefile.local @@ -265,10 +265,10 @@ notmuch.1.gz: notmuch.1 .PHONY: install install: all notmuch.1.gz - mkdir -p $(DESTDIR)$(mandir)/man1 - install -m0644 notmuch.1.gz $(DESTDIR)$(mandir)/man1/ - mkdir -p $(DESTDIR)$(prefix)/bin/ - install notmuch-shared $(DESTDIR)$(prefix)/bin/notmuch + mkdir -p "$(DESTDIR)$(mandir)/man1" + install -m0644 notmuch.1.gz "$(DESTDIR)$(mandir)/man1/" + mkdir -p "$(DESTDIR)$(prefix)/bin/" + install notmuch-shared "$(DESTDIR)$(prefix)/bin/notmuch" ifeq ($(MAKECMDGOALS), install) @echo "" @echo "Notmuch is now installed to $(DESTDIR)$(prefix)" @@ -277,6 +277,7 @@ ifeq ($(MAKECMDGOALS), install) @echo "through the process of configuring notmuch and creating" @echo "a database of existing email messages. The \"notmuch\"" @echo "command will also offer some sample search commands." +ifeq ($(WITH_EMACS), 1) @echo "" @echo "Beyond the command-line interface, notmuch also offers" @echo "a full-featured interface for reading and writing mail" @@ -288,11 +289,12 @@ ifeq ($(MAKECMDGOALS), install) @echo "And then run emacs as \"emacs -f notmuch\" or invoke" @echo "the command \"M-x notmuch\" from within emacs." endif +endif .PHONY: install-desktop install-desktop: - mkdir -p $(DESTDIR)$(desktop_dir) - desktop-file-install --mode 0644 --dir $(DESTDIR)$(desktop_dir) notmuch.desktop + mkdir -p "$(DESTDIR)$(desktop_dir)" + desktop-file-install --mode 0644 --dir "$(DESTDIR)$(desktop_dir)" notmuch.desktop SRCS := $(SRCS) $(notmuch_client_srcs) CLEAN := $(CLEAN) notmuch notmuch-shared $(notmuch_client_modules) notmuch.elc notmuch.1.gz