commit 2f2f85a72285df2cdc0018563404069d79fb9f92 parent 6eca93063108fd7699edf6dc69bc27134e784286 Author: Kebigon <git@kebigon.xyz> Date: Sun, 8 Aug 2021 16:39:01 +0900 Add `make install` and `make uninstall` Diffstat:
| M | Makefile | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile @@ -19,3 +19,9 @@ format: check: cppcheck --enable=all --inconclusive --std=c99 --platform=unix64 *.{c,h} + +install: kbgwm + test -d /usr/local/bin || mkdir -p /usr/local/bin + install -pm 755 kbgwm /usr/local/bin +uninstall: + rm -f /usr/local/bin/kbgwm