summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 1582c1e..2aac3ba 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,12 @@
.PHONY: install alpine openwrt
+PREFIX=/usr/local
+
install:
- mkdir -p /usr/local/bin
- mkdir -p /var/lib/inet2
- cp ./bin/* /usr/local/bin
- cp ./lib/* /var/lib/inet2
+ mkdir -p ${PREFIX}/bin
+ mkdir -p ${PREFIX}/share/inet2
+ cp ./bin/* ${PREFIX}/bin
+ cp ./share/* ${PREFIX}/share/inet2
alpine:
apk add --no-cache wireguard-tools bind-tools bird