diff --git a/meson.build b/meson.build index 5f00618..68800dd 100644 --- a/meson.build +++ b/meson.build @@ -190,7 +190,7 @@ executable( scdoc = dependency('scdoc', native: true, required: get_option('man-pages')) if scdoc.found() - scdoc_prog = find_program(scdoc.get_pkgconfig_variable('scdoc'), native: true) + scdoc_prog = find_program(scdoc.get_variable(pkgconfig: 'scdoc'), native: true) sh = find_program('sh', native: true) mandir = get_option('mandir') manpages = { @@ -204,7 +204,7 @@ if scdoc.found() input: input, output: output, command: [ - sh, '-c', '@0@ <@INPUT@ >@1@'.format(scdoc_prog.path(), output) + sh, '-c', '@0@ <@INPUT@ >@1@'.format(scdoc_prog.full_path(), output) ], install: true, install_dir: '@0@/man1'.format(mandir)