build: use ExternalProgram.full_path instead of path

ExternalProgram.path has been deprecated.
This commit is contained in:
Simon Ser 2021-06-25 16:25:21 +02:00
parent 5f3773f21e
commit 151193b4cd

View file

@ -153,7 +153,7 @@ if scdoc.found()
input: filename, input: filename,
output: output, output: output,
command: [ 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: true,
install_dir: '@0@/man@1@'.format(mandir, section) install_dir: '@0@/man@1@'.format(mandir, section)