build: don't use sh for scdoc
Just use the built-in feed/capture Meson options instead.
This commit is contained in:
parent
d92fa01f88
commit
f381e22955
1 changed files with 3 additions and 4 deletions
|
@ -247,7 +247,6 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if scdoc.found()
|
if scdoc.found()
|
||||||
scdoc_prog = find_program(scdoc.get_variable(pkgconfig: 'scdoc'), native: true)
|
|
||||||
mandir = get_option('mandir')
|
mandir = get_option('mandir')
|
||||||
|
|
||||||
foreach src : ['seatd.1.scd', 'seatd-launch.1.scd']
|
foreach src : ['seatd.1.scd', 'seatd-launch.1.scd']
|
||||||
|
@ -259,9 +258,9 @@ if scdoc.found()
|
||||||
output,
|
output,
|
||||||
input: 'man/' + src,
|
input: 'man/' + src,
|
||||||
output: output,
|
output: output,
|
||||||
command: [
|
command: scdoc.get_variable(pkgconfig: 'scdoc'),
|
||||||
'sh', '-c', '@0@ < @INPUT@ > @1@'.format(scdoc_prog.full_path(), output)
|
feed: true,
|
||||||
],
|
capture: true,
|
||||||
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