pybatmesh/Makefile
Pranav Jerry e1fe05b280 added How It Works section in README.md
Added the `-r` flag to `rm` in the uninstalling section.
Changed how the default value of PREFIX is defined in the
Makefile
2021-05-11 13:10:31 +05:30

10 lines
343 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
install systemd-networkd/* $(DESTDIR)$(PREFIX)/share/naxalnet/