From: Antonio Ospite Date: Sun, 26 Aug 2018 10:13:47 +0000 (+0200) Subject: Makefile: reload udev rules as soon as we install them X-Git-Url: https://git.ao2.it/experiments/cyclabile.git/commitdiff_plain/933edd9344f1e4f072688919ffb90ccf83e473f7?ds=sidebyside Makefile: reload udev rules as soon as we install them --- diff --git a/Makefile b/Makefile index 08dc836..7e27ab8 100644 --- a/Makefile +++ b/Makefile @@ -68,6 +68,7 @@ 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/ @@ -78,7 +79,6 @@ uninstall_service: udevadm control --reload enable_service: install_service - udevadm control --reload systemctl enable cyclabile.service test: cyclabile