From: Marc-André Lureau Date: Wed, 26 Aug 2020 13:06:20 +0000 (+0400) Subject: meson: install desktop file X-Git-Tag: v5.2.0-rc0~144^2~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c04c071f40c4ce96049848e4fc3b60c961502b81;p=thirdparty%2Fqemu.git meson: install desktop file Signed-off-by: Marc-André Lureau Message-Id: <20200826130622.553318-5-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini --- diff --git a/Makefile b/Makefile index d1a3cd77a57..dc3c20dd5e2 100644 --- a/Makefile +++ b/Makefile @@ -243,9 +243,6 @@ endif # Needed by "meson install" export DESTDIR install: all install-datadir install-localstatedir - mkdir -p "$(DESTDIR)$(qemu_desktopdir)" - $(INSTALL_DATA) $(SRC_PATH)/ui/qemu.desktop \ - "$(DESTDIR)$(qemu_desktopdir)/qemu.desktop" $(INSTALL_DIR) "$(DESTDIR)$(qemu_datadir)/keymaps" ifdef CONFIG_WIN32 diff --git a/ui/meson.build b/ui/meson.build index dddffc9a7ac..aa8aa315166 100644 --- a/ui/meson.build +++ b/ui/meson.build @@ -114,4 +114,6 @@ endif subdir('shader') subdir('icons') +install_data('qemu.desktop', install_dir: config_host['qemu_desktopdir']) + modules += {'ui': ui_modules}