From 9b343fd9fb9dec30b6ccb01c23ab17e56a9c873a Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 27 Feb 2022 11:26:40 +0100 Subject: meson: stop using deprecated functions, require meson >= 0.58 * get_pkgconfig_variable() -> get_variable() * prog.path() -> prog.full_path() * meson.build_root() -> meson.global_build_root() --- doc/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/meson.build b/doc/meson.build index a8b086ef..75c3be95 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -1,6 +1,6 @@ sh = find_program('sh', native: true) -scdoc_prog = find_program(scdoc.get_pkgconfig_variable('scdoc'), native: true) +scdoc_prog = find_program(scdoc.get_variable('scdoc'), native: true) conf_data = configuration_data( { @@ -26,7 +26,7 @@ foreach man_src : [{'name': 'foot', 'section' : 1}, out, output: out, input: preprocessed, - command: [sh, '-c', '@0@ < @INPUT@'.format(scdoc_prog.path())], + command: [sh, '-c', '@0@ < @INPUT@'.format(scdoc_prog.full_path())], capture: true, install: true, install_dir: join_paths(get_option('mandir'), 'man@0@'.format(section))) -- cgit v1.3