mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
305e76bc0a
This will allow for things like the database path to be specified without any cheesy NOTMUCH_BASE environment variable. It also will allow "notmuch reply" to recognize the user's email address when constructing a reply in order to do the right thing, (that is, to use the user's address to which mail was sent as From:, and not to reply to the user's own addresses). With this change, the "notmuch setup" command is now strictly for changing the configuration of notmuch. It no longer creates the database, but instead instructs the user to call "notmuch new" to do that.
34 lines
820 B
Text
34 lines
820 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 \
|
|
add-files.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)
|