summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2024-05-06 14:38:44 -0500
committerstkhan <personal@slickd.xyz>2024-05-06 14:38:44 -0500
commit98cf2587909cc94ea1b7dafe0760fd49f21b68f9 (patch)
treec223bb2d83a408fb9d99f3a36731b91f5e1ce9bb /Makefile
parent11869ffbf373829d48df981f9890f948681b7e8e (diff)
0.0.3
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index f38b8da..900a142 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,13 @@
-all:
- cp nws ~/.local/bin/
- cp nws.conf ~/.config/
+PREFIX=/usr/local/bin
+
+all: install
+
+install:
+ mkdir -p ${PREFIX}/
+ cp nws ${PREFIX}/
remove:
- rm -rf ~/.local/bin/nws
+ rm -rf ${PREFIX}/nws
+config:
+ mkdir -p ~/.config/nws/
+ cp nws.conf ~/.config/nws/