aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2024-03-09 14:04:39 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2024-03-09 14:04:39 +0100
commit5fc905f98dec5ef8ef9c5a4eb97cbc0b5c0543a2 (patch)
tree332c2b7b37e42fd6a6e3eca1a4fc5c65eee40c15
parent800061c0c5ebd8720d15a2cd10223c7f786a42c7 (diff)
Makefile: add install and user_install targets
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 51918a2..c227620 100644
--- a/Makefile
+++ b/Makefile
@@ -8,5 +8,11 @@ build:
run: build
./target/webtray ${URL}
+user_install: build
+ install ./target/webtray ~/.local/bin/webtray
-.PHONY: build
+install:
+ install ./target/webtray /usr/local/bin/webtray
+
+
+.PHONY: build user_install install