mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-09-06 18:05:39 +00:00
![Antonio Borneo](/assets/img/avatar_default.png)
Commit 6666dee52b
("man: Add weston-bindings(7) describing
desktop shell shortcuts") adds in file "man/meson.build" the line
install: true,
This line triggers a warning with meson 0.50.1:
WARNING: Project targetting '>= 0.47' but tried to use
feature introduced in '0.50.0': install arg in configure_file
Accordingly with
https://github.com/mesonbuild/meson/issues/5048
the line was silently ignored by meson before 0.50.0
One possible fix for this warning would require updating the
minumum version of meson required by weston, but then forcing every
builder to update meson.
Instead, since all the other instances in "man/meson.build" of
configure_file don't use the feature "install:", it seams safe to
simply remove the feature for the instal of "weston-bindings.man".
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
56 lines
1.4 KiB
Meson
56 lines
1.4 KiB
Meson
man_conf = configuration_data()
|
|
man_conf.set('weston_native_backend', opt_backend_native)
|
|
man_conf.set('weston_modules_dir', dir_module_weston)
|
|
man_conf.set('libweston_modules_dir', dir_module_libweston)
|
|
man_conf.set('weston_shell_client', get_option('desktop-shell-client-default'))
|
|
man_conf.set('weston_libexecdir', dir_libexec)
|
|
man_conf.set('weston_bindir', dir_bin)
|
|
man_conf.set('xserver_path', get_option('xwayland-path'))
|
|
man_conf.set('version', version_weston)
|
|
|
|
configure_file(
|
|
input: 'weston.man',
|
|
output: 'weston.1',
|
|
install_dir: join_paths(dir_man, 'man1'),
|
|
configuration: man_conf
|
|
)
|
|
|
|
configure_file(
|
|
input: 'weston-bindings.man',
|
|
output: 'weston-bindings.7',
|
|
install_dir: join_paths(dir_man, 'man7'),
|
|
configuration: man_conf
|
|
)
|
|
|
|
configure_file(
|
|
input: 'weston-debug.man',
|
|
output: 'weston-debug.1',
|
|
install_dir: join_paths(dir_man, 'man1'),
|
|
configuration: man_conf
|
|
)
|
|
|
|
configure_file(
|
|
input: 'weston.ini.man',
|
|
output: 'weston.ini.5',
|
|
install_dir: join_paths(dir_man, 'man5'),
|
|
configuration: man_conf
|
|
)
|
|
|
|
if get_option('backend-drm')
|
|
configure_file(
|
|
input: 'weston-drm.man',
|
|
output: 'weston-drm.7',
|
|
install_dir: join_paths(dir_man, 'man7'),
|
|
configuration: man_conf
|
|
)
|
|
endif
|
|
|
|
if get_option('backend-rdp')
|
|
configure_file(
|
|
input: 'weston-rdp.man',
|
|
output: 'weston-rdp.7',
|
|
install_dir: join_paths(dir_man, 'man7'),
|
|
configuration: man_conf
|
|
)
|
|
endif
|