From f3bf7891ad12e2612dcd3bc18de89c5550755f22 Mon Sep 17 00:00:00 2001 From: ache Date: Mon, 17 Jul 2017 10:02:42 +0200 Subject: Fix Makefile installation --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ec49db4..f92dbab 100644 --- a/Makefile +++ b/Makefile @@ -31,9 +31,9 @@ mrproper: clean rm -f ./$(PROG) -install: todo - [ -e /usr/bin/$(PROG) ] && sudo cp $(PROG) /usr/bin/$(PROG) - echo 'Installation success' +install: $(PROG) + cp $(PROG) /usr/bin/$(PROG) + @echo 'Installation success' uninstall: /usr/bin/$(PROG) rm -f /usr/bin/$(PROG) -- cgit v1.2.3