1 all: notmuch notmuch.1.gz
3 notmuch_client_srcs = \
15 gmime-filter-reply.c \
19 notmuch_client_modules = $(notmuch_client_srcs:.c=.o)
20 notmuch: $(notmuch_client_modules) lib/notmuch.a
21 $(CXX) $^ $(LDFLAGS) -o $@
23 notmuch.1.gz: notmuch.1
24 gzip --stdout notmuch.1 > notmuch.1.gz
26 install: all notmuch.1.gz
27 for d in $(DESTDIR)$(prefix)/bin/ $(DESTDIR)$(prefix)/share/man/man1 \
28 $(DESTDIR)/$(prefix)/share/emacs/site-lisp/ $(DESTDIR)/etc/bash_completion.d/ ; \
32 install notmuch $(DESTDIR)$(prefix)/bin/
33 install -m0644 notmuch.1.gz $(DESTDIR)$(prefix)/share/man/man1/
34 install -m0644 notmuch.el $(DESTDIR)$(prefix)/share/emacs/site-lisp/
35 install notmuch-completion.bash \
36 $(DESTDIR)/etc/bash_completion.d/notmuch
38 SRCS := $(SRCS) $(notmuch_client_srcs)
39 CLEAN := $(CLEAN) notmuch $(notmuch_client_modules)