From 93d8e16d5039a44bbc847b457ab2a09c53625877 Mon Sep 17 00:00:00 2001 From: "Manuel J. Garrido" Date: Mon, 24 Jun 2013 09:47:48 +0200 Subject: [PATCH] Install using 'install' instead of 'cp'. Install 'todo.sh' instead of 'todo' --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 6e98a05..3ef42e0 100644 --- a/Makefile +++ b/Makefile @@ -31,9 +31,8 @@ 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 + install --mode=755 todo.sh $(INSTALL_DIR) + install --mode=644 todo_completion /etc/bash_completion.d/todo mkdir -p ~/.todo cp -n todo.cfg ~/.todo/config