]> git.notmuchmail.org Git - notmuch/blobdiff - Makefile.local
Add an "--format=(json|text)" command-line option to both notmuch-search and notmuch...
[notmuch] / Makefile.local
index af1c9b5c55a55c4034994fc0df6075b665cac182..034b20361307a12514107d3c6a6ada4dbdd9d9be 100644 (file)
@@ -18,7 +18,8 @@ notmuch_client_srcs =         \
        notmuch-tag.c           \
        notmuch-time.c          \
        query-string.c          \
-       show-message.c
+       show-message.c          \
+       json.c
 
 notmuch_client_modules = $(notmuch_client_srcs:.c=.o)
 notmuch: $(notmuch_client_modules) lib/notmuch.a
@@ -43,10 +44,19 @@ install-emacs: install emacs
        install -m0644 notmuch.el $(DESTDIR)$(emacs_lispdir)
        install -m0644 notmuch.elc $(DESTDIR)$(emacs_lispdir)
 
+install-desktop:
+       install -d $(DESTDIR)$(desktop_dir)
+       desktop-file-install --mode 0644 --dir $(DESTDIR)$(desktop_dir) notmuch.desktop
+
 install-bash:
        install -d $(DESTDIR)$(bash_completion_dir)
-       install contrib/notmuch-completion.bash \
+       install -m0644 contrib/notmuch-completion.bash \
                $(DESTDIR)$(bash_completion_dir)/notmuch
 
+install-zsh:
+       install -d $(DESTDIR)$(zsh_completion_dir)
+       install -m0644 contrib/notmuch-completion.zsh \
+               $(DESTDIR)$(zsh_completion_dir)/notmuch
+
 SRCS  := $(SRCS) $(notmuch_client_srcs)
 CLEAN := $(CLEAN) notmuch $(notmuch_client_modules) notmuch.elc notmuch.1.gz