X-Git-Url: https://git.ao2.it/experiments/cyclabile.git/blobdiff_plain/eca851302e73a9b4a4d3609c14ade3efe90c8441..refs/heads/master:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index 6118bcc..39b537d 100644 --- a/Makefile +++ b/Makefile @@ -68,17 +68,19 @@ run: 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 +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 - udevadm control --reload systemctl enable cyclabile.service test: cyclabile