提交 ab575b7b 编写于 作者: A Andrea Bolognani

src: Only install SysV init scripts when libvirtd is built

This is consistent with the way we already handle
configuration for other init systems such as upstart and
systemd.
Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
Reviewed-by: NErik Skultety <eskultet@redhat.com>
上级 a5209817
......@@ -810,6 +810,7 @@ install-logrotate:
uninstall-logrotate:
endif ! WITH_LIBVIRTD
if WITH_LIBVIRTD
if LIBVIRT_INIT_SCRIPT_RED_HAT
initdir = $(sysconfdir)/rc.d/init.d
......@@ -830,6 +831,10 @@ else ! LIBVIRT_INIT_SCRIPT_RED_HAT
install-init::
uninstall-init::
endif ! LIBVIRT_INIT_SCRIPT_RED_HAT
else ! WITH_LIBVIRTD
install-init::
uninstall-init::
endif ! WITH_LIBVIRTD
%.8: %.8.in $(top_srcdir)/configure.ac
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册