diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-02-27 10:26:40 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-02-27 10:28:11 +0000 |
| commit | 9b343fd9fb9dec30b6ccb01c23ab17e56a9c873a (patch) | |
| tree | 38e43126d5f027d176b48be7c4c8b42b0693f160 /doc | |
| parent | Merge branch 'socket-activation' (diff) | |
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()
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
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))) |
