install_service:
cp 90-projector.rules $(DESTDIR)/lib/udev/rules.d/
+ udevadm control --reload
sed -e 's!@@CYCLABILE_SOURCE_PATH@@!$(shell pwd)!' < cyclabile.service.in > cyclabile.service
cp cyclabile.service $(DESTIR)/lib/systemd/system/
uninstall_service:
- systemctl enable cyclabile.service
+ systemctl disable cyclabile.service
rm $(DESTIR)/lib/systemd/system/cyclabile.service
rm $(DESTDIR)/lib/udev/rules.d/90-projector.rules
udevadm control --reload
enable_service: install_service
- udevadm control --reload
systemctl enable cyclabile.service
test: cyclabile