From 2b819ae83dbe2b13000e711b8b795b08a4471852 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Fri, 30 Oct 2009 12:00:55 -0700 Subject: [PATCH] Makefile: Add a simple target for "make install". The more I do here, the less I see the need for autotools. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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