pybatmesh/Makefile

12 lines
371 B
Makefile
Raw Normal View History

2021-05-10 15:15:42 +05:30
ifeq ($(PREFIX),)
PREFIX := /usr
endif
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
install systemd-networkd/* $(DESTDIR)$(PREFIX)/share/naxalnet/