From 64738026446bdf0b0308fb4331eab5a92688eb03 Mon Sep 17 00:00:00 2001 From: Dan O'Huiginn Date: Sat, 28 Apr 2012 12:49:19 +0100 Subject: [PATCH] Make install command --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 0450577..6e98a05 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ # # Makefile for todo.txt # +INSTALL_DIR=/usr/local/bin # Dynamically detect/generate version file as necessary # This file will define a variable called VERSION. @@ -29,6 +30,12 @@ dist: $(DISTFILES) todo.sh clean: rm -f $(DISTNAME).tar.gz $(DISTNAME).zip +install: + cp todo.sh $(INSTALL_DIR)/todo + chmod a+x $(INSTALL_DIR)/todo + cp todo_completion /etc/bash_completion.d/todo + mkdir -p ~/.todo + cp -n todo.cfg ~/.todo/config # # Testing