Makefile: Add a simple target for "make install".

The more I do here, the less I see the need for autotools.
This commit is contained in:
Carl Worth 2009-10-30 12:00:55 -07:00
parent bdde726388
commit 2b819ae83d

View file

@ -41,5 +41,9 @@ Makefile.dep: *.c *.cc
$(CXX) -M $(CPPFLAGS) $(CDEPENDS_FLAGS) $(CXXDEPENDS_FLAGS) $^ > $@ $(CXX) -M $(CPPFLAGS) $(CDEPENDS_FLAGS) $(CXXDEPENDS_FLAGS) $^ > $@
-include Makefile.dep -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: clean:
rm -f $(PROGS) *.o Makefile.dep rm -f $(PROGS) *.o Makefile.dep