diff options
| author | Tyler Murphy <tylerm@tylerm.dev> | 2023-04-12 11:56:55 -0400 |
|---|---|---|
| committer | Tyler Murphy <tylerm@tylerm.dev> | 2023-04-12 11:56:55 -0400 |
| commit | 9c19aa4d3327eb5be8c4e25495ff56c46b77a0d2 (patch) | |
| tree | b1b1987a2471299e1ce630fc0842195b3ef3210e /Makefile | |
| parent | remove direct call to addr in printing quad a for alpine support (diff) | |
| download | wrapper-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-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 |