sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit f98410c090c995d491ba538850b792c763407583
parent 88b283c55713c45968e2df5f8b89a40a0b32f720
Author: emersion <contact@emersion.fr>
Date:   Wed, 27 Feb 2019 22:19:53 +0100

meson: check scdoc version

Diffstat:
Mmeson.build | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meson.build b/meson.build @@ -95,8 +95,9 @@ conf_data.set10('HAVE_SYSTEMD', systemd.found()) conf_data.set10('HAVE_ELOGIND', elogind.found()) conf_data.set10('HAVE_TRAY', have_tray) -scdoc = find_program('scdoc', required: get_option('man-pages')) +scdoc = dependency('scdoc', version: '>=1.9', native: true, required: get_option('man-pages')) if scdoc.found() + scdoc_prog = find_program('scdoc') sh = find_program('sh') mandir = get_option('mandir') man_files = [ @@ -120,7 +121,7 @@ if scdoc.found() input: filename, output: output, command: [ - sh, '-c', '@0@ < @INPUT@ > @1@'.format(scdoc.path(), output) + sh, '-c', '@0@ < @INPUT@ > @1@'.format(scdoc_prog.path(), output) ], install: true, install_dir: '@0@/man@1@'.format(mandir, section)