X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=Makefile.local;h=034b20361307a12514107d3c6a6ada4dbdd9d9be;hp=4b29ad832324ef55dbdff1a1f3a72e8a972f3286;hb=4e5d2f22db290a830c0267f34b519c6138af00ed;hpb=880b21a097104bee5f50a444c5130695d143fd8a diff --git a/Makefile.local b/Makefile.local index 4b29ad83..034b2036 100644 --- a/Makefile.local +++ b/Makefile.local @@ -18,11 +18,12 @@ 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 - $(call quiet,CXX) $^ $(LDFLAGS) -o $@ + $(call quiet,CXX,$(LDFLAGS)) $^ $(FINAL_LDFLAGS) -o $@ notmuch.1.gz: notmuch.1 $(call quiet,gzip) --stdout $^ > $@ @@ -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