aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 26ab8da..fee4fff 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: