]> git.notmuchmail.org Git - notmuch/blobdiff - Makefile
Add a simple manual page for notmuch.
[notmuch] / Makefile
index 26ab8da8e748b32beb143e4f92d7ab02707a5eb2..fee4ffffc0ee6a579290832a24e168b91fa81fd7 100644 (file)
--- 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: