summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTyler Murphy <tylerm@tylerm.dev>2023-04-12 11:56:55 -0400
committerTyler Murphy <tylerm@tylerm.dev>2023-04-12 11:56:55 -0400
commit9c19aa4d3327eb5be8c4e25495ff56c46b77a0d2 (patch)
treeb1b1987a2471299e1ce630fc0842195b3ef3210e /Makefile
parentremove direct call to addr in printing quad a for alpine support (diff)
downloadwrapper-9c19aa4d3327eb5be8c4e25495ff56c46b77a0d2.tar.gz
wrapper-9c19aa4d3327eb5be8c4e25495ff56c46b77a0d2.tar.bz2
wrapper-9c19aa4d3327eb5be8c4e25495ff56c46b77a0d2.zip
makefile install and uninstall, use different config path
Diffstat (limited to 'Makefile')
-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