aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)