From: Anthony PERARD via <qemu-devel@nongnu.org>
To: <qemu-devel@nongnu.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
Anthony PERARD <anthony.perard@citrix.com>
Subject: [PATCH] meson: fix installation of keymaps
Date: Fri, 18 Sep 2020 14:03:54 +0100 [thread overview]
Message-ID: <20200918130354.1879275-1-anthony.perard@citrix.com> (raw)
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
---
I don't know much about meson, but without "install:true" to the
custom_target(), the keymaps files doen't get install when running
`make install`. Only the files "sl" and "sv" are installed.
So "install:true" seems necessary here.
I've tried both with and without `qemu-keymap` (or xkbcommon).
---
pc-bios/keymaps/meson.build | 2 ++
1 file changed, 2 insertions(+)
diff --git a/pc-bios/keymaps/meson.build b/pc-bios/keymaps/meson.build
index 2e2e0dfa3b79..05eda6c0d26d 100644
--- a/pc-bios/keymaps/meson.build
+++ b/pc-bios/keymaps/meson.build
@@ -47,6 +47,7 @@ foreach km, args: keymaps
build_by_default: true,
output: km,
command: [native_qemu_keymap, '-f', '@OUTPUT@', args.split()],
+ install: true,
install_dir: qemu_datadir / 'keymaps')
else
# copy from source tree
@@ -55,6 +56,7 @@ foreach km, args: keymaps
input: km,
output: km,
command: ['cp', '@INPUT@', '@OUTPUT@'],
+ install: true,
install_dir: qemu_datadir / 'keymaps')
endif
endforeach
--
Anthony PERARD
next reply other threads:[~2020-09-18 13:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-18 13:03 Anthony PERARD via [this message]
2020-09-18 13:13 ` [PATCH] meson: fix installation of keymaps no-reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200918130354.1879275-1-anthony.perard@citrix.com \
--to=qemu-devel@nongnu.org \
--cc=anthony.perard@citrix.com \
--cc=pbonzini@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).