aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2017-07-17 10:02:42 +0200
committerache <ache@ache.one>2017-07-17 10:02:42 +0200
commitf3bf7891ad12e2612dcd3bc18de89c5550755f22 (patch)
treee39b07abde695cd1012f3823742f8965f6271c34
parentMakefile force rm (diff)
Fix Makefile installation
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
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)