mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-21 13:15:25 +00:00
Move src/keycodemapdb -> subprojects/keycodemapdb
Follow better meson build system conventions. This allows to find keymap-gen or CSV without explicitly setting the paths. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
c4ec51edd6
commit
883b427acf
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -1,3 +1,3 @@
|
||||
[submodule "keycodemapdb"]
|
||||
path = src/keycodemapdb
|
||||
path = subprojects/keycodemapdb
|
||||
url = https://gitlab.com/keycodemap/keycodemapdb.git
|
||||
|
@ -2028,6 +2028,7 @@ runutf8 = [ 'LC_ALL=', 'LANG=C', 'LC_CTYPE=en_US.UTF-8' ]
|
||||
|
||||
top_inc_dir = include_directories('.')
|
||||
|
||||
keycodemapdb = subproject('keycodemapdb')
|
||||
|
||||
# include remaining subdirs
|
||||
|
||||
|
@ -138,8 +138,8 @@ keyname_list = [
|
||||
'win32',
|
||||
]
|
||||
|
||||
keymap_gen_prog = find_program('keymap-gen', dirs: [meson.project_source_root() / 'src' / 'keycodemapdb' / 'tools' ])
|
||||
keymap_src_file = '@0@/src/keycodemapdb/data/keymaps.csv'.format(meson.project_source_root())
|
||||
keymap_gen_prog = find_program('keymap-gen')
|
||||
keymap_src_file = keycodemapdb.get_variable('keymaps_csv')
|
||||
|
||||
foreach name : keycode_list
|
||||
keycode_gen_sources += custom_target(
|
||||
|
Loading…
Reference in New Issue
Block a user