notmuch/Makefile.local
Carl Worth 37bdd89870 notmuch new: Unbreak after the addition of notmuch-config.
Pull in the code from add-files.c now that notmuch_new_command is
the only user, (we no longer have notmuch_setup_command adding any
messages).
2009-11-11 19:50:15 -08:00

33 lines
804 B
Text

all: notmuch
notmuch_client_srcs = \
notmuch.c \
notmuch-config.c \
notmuch-dump.c \
notmuch-new.c \
notmuch-reply.c \
notmuch-restore.c \
notmuch-search.c \
notmuch-setup.c \
notmuch-show.c \
notmuch-tag.c \
notmuch-time.c \
gmime-filter-reply.c \
query-string.c \
show-message.c
notmuch_client_modules = $(notmuch_client_srcs:.c=.o)
notmuch: $(notmuch_client_modules) 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_client_srcs)
CLEAN := $(CLEAN) notmuch $(notmuch_client_modules)