meson: actually install stuff

This installs the exe and unl0kr conf file when you `meson install`
This commit is contained in:
Clayton Craft
2021-11-15 17:19:27 -08:00
parent ee1fae899e
commit 00d24cd44a

View File

@@ -47,6 +47,8 @@ lvgl_sources = run_command('find-lvgl-sources.sh', 'lvgl').stdout().strip().spli
lv_drivers_sources = run_command('find-lvgl-sources.sh', 'lv_drivers').stdout().strip().split('\n') lv_drivers_sources = run_command('find-lvgl-sources.sh', 'lv_drivers').stdout().strip().split('\n')
install_data(sources: 'unl0kr.conf', install_dir : get_option('sysconfdir'))
executable( executable(
'unl0kr', 'unl0kr',
sources: unl0kr_sources + squeek2lvgl_sources + lvgl_sources + lv_drivers_sources, sources: unl0kr_sources + squeek2lvgl_sources + lvgl_sources + lv_drivers_sources,
@@ -55,5 +57,6 @@ executable(
dependency('inih'), dependency('inih'),
dependency('libinput'), dependency('libinput'),
dependency('xkbcommon') dependency('xkbcommon')
] ],
install: true
) )