notmuch/Makefile.local

17 lines
406 B
Text
Raw Normal View History

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