From: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
Makefile | 3 ---
ui/meson.build | 2 ++
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 898949ded6..474aaeb1a9 100644
--- a/Makefile
+++ b/Makefile
@@ -230,9 +230,6 @@ endif
endif
install: all install-datadir install-localstatedir
- mkdir -p "$(DESTDIR)$(qemu_desktopdir)"
- $(INSTALL_DATA) $(SRC_PATH)/ui/qemu.desktop \
- "$(DESTDIR)$(qemu_desktopdir)/qemu.desktop"
ifdef CONFIG_GTK
$(MAKE) -C po $@
endif
diff --git a/ui/meson.build b/ui/meson.build
index 1d87b975e1..024aa18bac 100644
--- a/ui/meson.build
+++ b/ui/meson.build
@@ -110,4 +110,6 @@ endforeach
subdir('shader')
subdir('icons')
+install_data('qemu.desktop', install_dir: config_host['qemu_desktopdir'])
+
modules += {'ui': ui_modules}
--
2.21.0