mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-31 22:53:29 +00:00
This was a old hack used before Meson 0.61.0 added install_symlink, we are at the meson release 1.10.0 so it is safe to use the new proper function for this task. Also used the X server's executable name as the link target name, and as the SUID wrapper's name. Moved the minimum Meson version up to 0.61.0. Signed-off-by: b-aaz <b-aazbsd@proton.me>
27 lines
543 B
Meson
27 lines
543 B
Meson
inputtestdrv_srcs = [
|
|
'xf86-input-inputtest.c',
|
|
]
|
|
|
|
shared_module(
|
|
'inputtest_drv',
|
|
inputtestdrv_srcs,
|
|
name_prefix: '',
|
|
|
|
include_directories: [inc, xorg_inc],
|
|
c_args: xorg_c_args,
|
|
dependencies: [common_dep],
|
|
|
|
install: true,
|
|
install_dir: join_paths(module_abi_dir, 'input'),
|
|
|
|
link_with: xserver_exec,
|
|
)
|
|
|
|
install_man(configure_file(
|
|
input: 'inputtestdrv.man',
|
|
output: 'inputtestdrv.4',
|
|
configuration: manpage_config,
|
|
))
|
|
|
|
install_data('xf86-input-inputtest-protocol.h', install_dir: xorgsdkdir)
|