summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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/