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