# vim: shiftwidth=4 tabstop=4 noexpandtab DESTDIR="" # leave empty for the current system or provide a fakeroot here PREFIX="/usr" .PHONY: all clean install all: make -C python all make -C src all clean: make -C python clean make -C src clean install: all make -C python install DESTDIR=$(abspath $(DESTDIR)) make -C src install DESTDIR=$(abspath $(DESTDIR)) install -Dm 644 systemd/birdscan.service $(DESTDIR)$(PREFIX)/lib/systemd/system/birdscan.service install -Dm 644 systemd/birdscan.sysusers $(DESTDIR)$(PREFIX)/lib/sysusers.d/birdscan.conf