X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=Makefile;h=fee4ffffc0ee6a579290832a24e168b91fa81fd7;hb=1a579dfe6b13d959900d8ccb9a86526234ce5669;hp=a1a7a15ce523eaa9e82f586a146ec589bab69cca;hpb=f9bbd7baa07110c7f345c8413e2426d00382cb1c;p=notmuch diff --git a/Makefile b/Makefile index a1a7a15c..fee4ffff 100644 --- a/Makefile +++ b/Makefile @@ -41,5 +41,13 @@ Makefile.dep: *.c *.cc $(CXX) -M $(CPPFLAGS) $(CDEPENDS_FLAGS) $(CXXDEPENDS_FLAGS) $^ > $@ -include Makefile.dep +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: rm -f $(PROGS) *.o Makefile.dep