build: don't explicitly search for sh
This removes the "Program sh found" line in the build logs, and should not change anything else.
This commit is contained in:
parent
392da918e6
commit
ee40913810
1 changed files with 1 additions and 2 deletions
|
@ -214,7 +214,6 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if scdoc.found()
|
if scdoc.found()
|
||||||
sh = find_program('sh', native: true)
|
|
||||||
scdoc_prog = find_program(scdoc.get_pkgconfig_variable('scdoc'), native: true)
|
scdoc_prog = find_program(scdoc.get_pkgconfig_variable('scdoc'), native: true)
|
||||||
mandir = get_option('mandir')
|
mandir = get_option('mandir')
|
||||||
|
|
||||||
|
@ -228,7 +227,7 @@ if scdoc.found()
|
||||||
input: 'man/' + src,
|
input: 'man/' + src,
|
||||||
output: output,
|
output: output,
|
||||||
command: [
|
command: [
|
||||||
sh, '-c', '@0@ < @INPUT@ > @1@'.format(scdoc_prog.path(), output)
|
'sh', '-c', '@0@ < @INPUT@ > @1@'.format(scdoc_prog.path(), output)
|
||||||
],
|
],
|
||||||
install: true,
|
install: true,
|
||||||
install_dir: '@0@/man@1@'.format(mandir, section)
|
install_dir: '@0@/man@1@'.format(mandir, section)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue