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
This commit is contained in:
Riccardo Calixte 2019-09-11 08:30:57 -04:00 committed by Carsten Haitzler (Rasterman)
parent 2cdc51f866
commit 25ec83f91a
1 changed files with 5 additions and 5 deletions

View File

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