3 notmuch: notmuch.o lib/notmuch.a
4 $(CC) $(LDFLAGS) $^ -o $@
7 gzip --stdout notmuch.1 > notmuch.1.gz
9 install: all notmuch.1.gz
10 install -C -D notmuch $(DESTDIR)/usr/bin/notmuch
11 install -C -D notmuch.1.gz $(DESTDIR)/usr/share/man/man1
12 install -C -D notmuch-completion.bash \
13 $(DESTDIR)/etc/bash_completion.d/notmuch
15 SRCS := $(SRCS) notmuch.c
16 CLEAN := $(CLEAN) notmuch *.o