-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
12 lines (10 loc) · 643 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
install:
mkdir -p $(DESTDIR)/usr/sbin
mkdir -p $(DESTDIR)/etc
mkdir -p $(DESTDIR)/etc/wg-broker
mkdir -p $(DESTDIR)/etc/systemd/system
install -m 0755 src/wg-broker-server $(DESTDIR)/usr/sbin/wg-broker-server
install -m 0644 src/config $(DESTDIR)/etc/wg-broker/config.example
install -m 0644 src/systemd $(DESTDIR)/etc/systemd/system/wireguard.service
deb:
checkinstall -D --fstrans=yes --maintainer="Christof Schulze \<[email protected]\>" --requires="bash,netcat-openbsd,jq,iptables,socat,wireguard" --pkgname=wg-broker --pkgrelease=$(WGRELEASE) --pkgversion=$(WGVERSION) --install=no --nodoc --pkgarch=all make install