mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-17 05:33:52 -04:00
meson: use meson feed feature for scdoc input
Removes the need for a shell dependency.
This commit is contained in:
parent
8859e134ef
commit
16872ecc41
3 changed files with 5 additions and 4 deletions
|
|
@ -1,5 +1,3 @@
|
|||
sh = find_program('sh', native: true)
|
||||
|
||||
scdoc_prog = find_program(scdoc.get_variable('scdoc'), native: true)
|
||||
|
||||
if utmp_backend != 'none'
|
||||
|
|
@ -43,8 +41,9 @@ foreach man_src : [{'name': 'foot', 'section' : 1},
|
|||
out,
|
||||
output: out,
|
||||
input: preprocessed,
|
||||
command: [sh, '-c', '@0@ < @INPUT@'.format(scdoc_prog.full_path())],
|
||||
command: scdoc_prog.full_path(),
|
||||
capture: true,
|
||||
feed: true,
|
||||
install: true,
|
||||
install_dir: join_paths(get_option('mandir'), 'man@0@'.format(section)))
|
||||
endforeach
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue