3 notmuch_client_srcs = \
16 notmuch_client_modules = $(notmuch_client_srcs:.c=.o)
17 notmuch: $(notmuch_client_modules) lib/notmuch.a
18 $(CC) $(LDFLAGS) $^ -o $@
21 gzip --stdout notmuch.1 > notmuch.1.gz
23 install: all notmuch.1.gz
24 install -C -D notmuch $(DESTDIR)/usr/bin/notmuch
25 install -C -D notmuch.1.gz $(DESTDIR)/usr/share/man/man1
26 install -C -D notmuch-completion.bash \
27 $(DESTDIR)/etc/bash_completion.d/notmuch
29 SRCS := $(SRCS) $(notmuch_client_srcs)
30 CLEAN := $(CLEAN) notmuch $(notmuch_client_modules)