summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a2921f2..5998a41 100644
--- a/Makefile
+++ b/Makefile
@@ -34,3 +34,16 @@ $(BIN)/%.o: %.c
clean:
rm -rf $(APP)
rm -rf $(BIN)
+
+install:
+ cp bin/app /usr/local/bin/wrapper
+
+uninstall:
+ rm /usr/local/bin/wrapper
+
+openrc-install: install
+ cp service/openrc /etc/init.d/wrapper
+ chmod +x /etc/init.d/wrapper
+
+openrc-uninstall: uninstall
+ rm /etc/init.d/wrapper