From: Carl Worth Date: Fri, 30 Oct 2009 19:00:55 +0000 (-0700) Subject: Makefile: Add a simple target for "make install". X-Git-Tag: 0.1~652 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2b819ae83dbe2b13000e711b8b795b08a4471852;p=notmuch.git Makefile: Add a simple target for "make install". The more I do here, the less I see the need for autotools. --- diff --git a/Makefile b/Makefile index a1a7a15c..26ab8da8 100644 --- a/Makefile +++ b/Makefile @@ -41,5 +41,9 @@ Makefile.dep: *.c *.cc $(CXX) -M $(CPPFLAGS) $(CDEPENDS_FLAGS) $(CXXDEPENDS_FLAGS) $^ > $@ -include Makefile.dep +install: + install -C -D notmuch $(DESTDIR)/usr/bin/notmuch + install -C -D notmuch-completion.bash $(DESTDIR)/etc/bash_completion.d/notmuch + clean: rm -f $(PROGS) *.o Makefile.dep