From 933edd9344f1e4f072688919ffb90ccf83e473f7 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Sun, 26 Aug 2018 12:13:47 +0200 Subject: [PATCH] Makefile: reload udev rules as soon as we install them --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.1.4