mirror of
https://git.disroot.org/pranav/pybatmesh.git
synced 2025-01-08 16:04:05 +05:30
Pranav Jerry
715f4b7308
The rewrite is partly over, with only the iwd part remaining. The README was updated and a commented-out section which had no comment closing tag was fixed.
17 lines
541 B
Makefile
17 lines
541 B
Makefile
PREFIX := /usr
|
|
|
|
install: naxalnet
|
|
install -d $(DESTDIR)$(PREFIX)/bin
|
|
install -d $(DESTDIR)$(PREFIX)/lib/systemd/system/
|
|
install naxalnet.service $(DESTDIR)$(PREFIX)/lib/systemd/system/
|
|
install naxalnet $(DESTDIR)$(PREFIX)/bin/
|
|
install -d $(DESTDIR)$(PREFIX)/share/naxalnet/networkd
|
|
install systemd-networkd/* $(DESTDIR)$(PREFIX)/share/naxalnet/networkd
|
|
|
|
testdeps:
|
|
@for i in networkctl systemctl python3; do \
|
|
echo "Checking for $$i"; \
|
|
which $$i > /dev/null && echo " $$i found" || \
|
|
(echo " $$i not found"; exit 1); \
|
|
done
|