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