diff options
author | Andrea Bolognani <abologna@redhat.com> | 2019-01-10 14:05:31 +0100 |
---|---|---|
committer | Andrea Bolognani <abologna@redhat.com> | 2019-01-10 16:48:12 +0100 |
commit | ab575b7b7727d639c03d509f831c12458b15114a (patch) | |
tree | 67cc859b13e1f0b1b0c60bec42973b064ab155e3 | |
parent | a5209817400151320384c34d4f573f2cf9445fd0 (diff) | |
download | libvirt-ab575b7b7727d639c03d509f831c12458b15114a.tar.gz |
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: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
-rw-r--r-- | src/Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 0a8f54120d..82a96adb99 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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 |