meson: install $localstatedir/run for qga
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20200826130622.553318-6-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
c04c071f40
commit
8ab1aabc5d
10
Makefile
10
Makefile
@ -232,17 +232,9 @@ distclean: clean ninja-distclean
|
||||
install-datadir:
|
||||
$(INSTALL_DIR) "$(DESTDIR)$(qemu_datadir)"
|
||||
|
||||
install-localstatedir:
|
||||
ifdef CONFIG_POSIX
|
||||
ifeq ($(CONFIG_GUEST_AGENT),y)
|
||||
$(INSTALL_DIR) "$(DESTDIR)$(qemu_localstatedir)"/run
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
# Needed by "meson install"
|
||||
export DESTDIR
|
||||
install: all install-datadir install-localstatedir
|
||||
install: all install-datadir
|
||||
$(INSTALL_DIR) "$(DESTDIR)$(qemu_datadir)/keymaps"
|
||||
|
||||
ifdef CONFIG_WIN32
|
||||
|
@ -82,6 +82,8 @@ if targetos == 'windows'
|
||||
all_qga += [qga_msi]
|
||||
alias_target('msi', qga_msi)
|
||||
endif
|
||||
else
|
||||
install_subdir('run', install_dir: get_option('localstatedir'))
|
||||
endif
|
||||
|
||||
alias_target('qemu-ga', all_qga)
|
||||
|
Loading…
Reference in New Issue
Block a user