3 notmuch_client_srcs = \
16 gmime-filter-reply.c \
20 notmuch_client_modules = $(notmuch_client_srcs:.c=.o)
21 notmuch: $(notmuch_client_modules) lib/notmuch.a
22 $(CC) $(LDFLAGS) $^ -o $@
25 gzip --stdout notmuch.1 > notmuch.1.gz
27 install: all notmuch.1.gz
28 install -C -D notmuch $(DESTDIR)/usr/bin/notmuch
29 install -C -D notmuch.1.gz $(DESTDIR)/usr/share/man/man1
30 install -C -D notmuch-completion.bash \
31 $(DESTDIR)/etc/bash_completion.d/notmuch
33 SRCS := $(SRCS) $(notmuch_client_srcs)
34 CLEAN := $(CLEAN) notmuch $(notmuch_client_modules)