summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-06-30 17:08:10 +0100
committerJoe Carstairs <me@joeac.net>2026-07-01 16:47:06 +0100
commitdef393b9300b66b12692df0123f6e79100c9842b (patch)
tree7d7a982e8e86d891d4a198051ca71e0f45343e15
parentc1096e2b0116acc7dd303bae8d4c4e0fad310ba6 (diff)
only restart openrc service if one exists on reinstall
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b53f50a..3deb904 100644
--- a/Makefile
+++ b/Makefile
@@ -82,7 +82,7 @@ endef
define reinstall_openrc_module_rule =
.PHONY: reinstall_openrc_$(module)
-reinstall_openrc_$(module): $(openrc_module_target) openrc_restart_$(module)
+reinstall_openrc_$(module): $(if $(openrc_module_target),$(openrc_module_target) openrc_restart_$(module))
endef
define uninstall_module_rule =