1 notmuch_client_srcs = \
2 $(notmuch_compat_srcs) \
13 notmuch-search-tags.c \
22 notmuch_client_modules = $(notmuch_client_srcs:.c=.o)
23 notmuch: $(notmuch_client_modules) lib/notmuch.a
24 $(call quiet,CXX,$(LDFLAGS)) $^ $(FINAL_LDFLAGS) -o $@
26 notmuch.1.gz: notmuch.1
27 $(call quiet,gzip) --stdout $^ > $@
29 install: all-without-message notmuch.1.gz
30 for d in $(DESTDIR)$(prefix)/bin/ $(DESTDIR)$(prefix)/share/man/man1 ; \
34 install notmuch $(DESTDIR)$(prefix)/bin/
35 install -m0644 notmuch.1.gz $(DESTDIR)$(prefix)/share/man/man1/
38 install -d $(DESTDIR)$(desktop_dir)
39 desktop-file-install --mode 0644 --dir $(DESTDIR)$(desktop_dir) notmuch.desktop
42 install -d $(DESTDIR)$(bash_completion_dir)
43 install -m0644 contrib/notmuch-completion.bash \
44 $(DESTDIR)$(bash_completion_dir)/notmuch
47 install -d $(DESTDIR)$(zsh_completion_dir)
48 install -m0644 contrib/notmuch-completion.zsh \
49 $(DESTDIR)$(zsh_completion_dir)/notmuch
51 SRCS := $(SRCS) $(notmuch_client_srcs)
52 CLEAN := $(CLEAN) notmuch $(notmuch_client_modules) notmuch.elc notmuch.1.gz