projects
/
experiments
/
cyclabile.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb2407f
)
Makefile: reload udev rules as soon as we install them
author
Antonio Ospite <ao2@ao2.it>
Sun, 26 Aug 2018 10:13:47 +0000
(12:13 +0200)
committer
Antonio Ospite <ao2@ao2.it>
Sun, 26 Aug 2018 10:13:47 +0000
(12:13 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
08dc836
..
7e27ab8
100644
(file)
--- 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