mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-26 01:40:12 -05:00
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()
This commit is contained in:
parent
a65804139d
commit
9b343fd9fb
3 changed files with 8 additions and 7 deletions
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue