From 6f1eaae8d40189519bf71c9f951e1bc491c9dbf6 Mon Sep 17 00:00:00 2001 From: matzman Date: Mon, 16 Jun 2014 11:46:24 +0200 Subject: [PATCH] Added install/uninstall make targets. --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index 9f970a4..559bba6 100644 --- a/Makefile +++ b/Makefile @@ -27,3 +27,11 @@ clean : distclean : clean rm -rf bin + +install: bin/gcmgr + mkdir -p /opt/growcontrol/bin + mkdir -p /opt/growcontrol/log + cp bin/gcmgr /opt/growcontrol/bin + +uninstall: + rm -rf /opt/growcontrol/bin/gcmgr