Skip to content

Commit

Permalink
meson: Fix deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
any1 committed Nov 10, 2024
1 parent 666ffac commit 1e90121
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -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)
Expand Down

0 comments on commit 1e90121

Please sign in to comment.