Basic BSD gmake install/uninstall.

This commit is contained in:
Adam Ierymenko 2017-01-19 15:15:31 -08:00
parent d79f792e6f
commit 35174a8766

View File

@ -72,4 +72,13 @@ clean:
debug: FORCE
make -j 4 ZT_DEBUG=1
install: one
rm -f /usr/local/sbin/zerotier-one
cp zerotier-one /usr/local/sbin
ln -sf /usr/local/sbin/zerotier-one /usr/local/sbin/zerotier-cli
ln -sf /usr/local/sbin/zerotier-one /usr/local/bin/zerotier-idtool
uninstall: FORCE
rm -rf /usr/local/sbin/zerotier-one /usr/local/sbin/zerotier-cli /usr/local/bin/zerotier-idtool /var/db/zerotier-one/zerotier-one.port /var/db/zerotier-one/zerotier-one.pid /var/db/zerotier-one/iddb.d
FORCE: