Updating Meson build Wayland conditional to match Makefile

Summary:
The conditional logic is flawed.
If `HAVE_WAYLAND` is true, only then should the path be updated to include wayland-sessions.

Test Plan: Verified desired output in build/meson-info/intro-installed.json after testing a clean build

Reviewers: devilhorns

Subscribers: cedric, zmike

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D9868
devs/devilhorns/output
Riccardo Calixte 3 years ago committed by Christopher Michael
parent d961e31436
commit ee8773c41a
  1. 8
      data/session/meson.build

@ -6,12 +6,12 @@ e_desktop = configure_file(input : 'enlightenment.desktop.in',
configuration: desktop_config
)
if config_h.has('HAVE_WAYLAND_ONLY') == false
if config_h.has('HAVE_WAYLAND') == true
install_data(e_desktop,
install_dir : join_paths(dir_data, 'xsessions'))
install_dir : join_paths(dir_data, 'wayland-sessions'))
endif
if config_h.has('HAVE_WAYLAND') == false
if config_h.has('HAVE_WAYLAND_ONLY') == false
install_data(e_desktop,
install_dir : join_paths(dir_data, 'wayland-sessions'))
install_dir : join_paths(dir_data, 'xsessions'))
endif

Loading…
Cancel
Save