]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
meson: tools: install virt-login-shell.conf
authorPavel Hrdina <phrdina@redhat.com>
Wed, 17 Jun 2020 23:49:58 +0000 (01:49 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 3 Aug 2020 07:27:05 +0000 (09:27 +0200)
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
tools/Makefile.am
tools/meson.build

index f0d41e8e75de69e00d7960d74a73466da14566d0..0b59577024c5190d28af68aa8bcf323a5acb4e25 100644 (file)
 # needed
 STANDALONE_CPPFLAGS = -I$(top_srcdir)
 
-confdir = $(sysconfdir)/libvirt
-conf_DATA =
-
-if WITH_LOGIN_SHELL
-conf_DATA += virt-login-shell.conf
-endif WITH_LOGIN_SHELL
-
 noinst_LTLIBRARIES =
 
 BUILT_SOURCES =
index 0393fd9295ad715cffffdbac9bdda5a5fddfa835..d595e5807a26defc30fa6d210a52ef961b648cb6 100644 (file)
@@ -114,6 +114,8 @@ if conf.has('WITH_LOGIN_SHELL')
     install_dir: libexecdir,
     install_rpath: libdir,
   )
+
+  install_data('virt-login-shell.conf', install_dir: sysconfdir / 'libvirt')
 endif
 
 if host_machine.system() == 'windows'