aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-10-30 12:00:55 -0700
committerGravatar Carl Worth <cworth@cworth.org>2009-10-30 12:00:55 -0700
commit2b819ae83dbe2b13000e711b8b795b08a4471852 (patch)
treeafb6e65788ab492f02b07553eceb5d5acd4edc9c /Makefile
parentbdde72638806217bd6c329ed7e66e5b7c8c72671 (diff)
Makefile: Add a simple target for "make install".
The more I do here, the less I see the need for autotools.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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