aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-11-02 06:13:16 -0800
committerGravatar Carl Worth <cworth@cworth.org>2009-11-02 07:18:31 -0800
commit1a579dfe6b13d959900d8ccb9a86526234ce5669 (patch)
tree1ac27800775252e44c5b335e8230703092f47cd6 /Makefile
parent2405b45a06b5c9a596324c81e65fae31e2bcfab0 (diff)
Add a simple manual page for notmuch.
By pulling content out of notmuch help, and also the messages printed by "notmuch setup".
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 26ab8da8..fee4ffff 100644
--- a/Makefile
+++ b/Makefile
@@ -41,8 +41,12 @@ Makefile.dep: *.c *.cc
$(CXX) -M $(CPPFLAGS) $(CDEPENDS_FLAGS) $(CXXDEPENDS_FLAGS) $^ > $@
-include Makefile.dep
-install:
+notmuch.1.gz:
+ gzip --stdout notmuch.1 > notmuch.1.gz
+
+install: 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
clean: