mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
build: remove scdoc stdin/stdout hack
From version 0.59.0, meson supports feeding the input file as stdin. See sway@9727db67
This commit is contained in:
parent
d228bab4b8
commit
d6af585837
2 changed files with 3 additions and 2 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
scdoc = find_program('scdoc', required: get_option('man-pages'))
|
scdoc = find_program('scdoc', required: get_option('man-pages'))
|
||||||
|
|
||||||
if scdoc.found()
|
if scdoc.found()
|
||||||
sh = find_program('sh', native: true)
|
|
||||||
sections = [
|
sections = [
|
||||||
'.1',
|
'.1',
|
||||||
'-actions.5',
|
'-actions.5',
|
||||||
|
|
@ -16,8 +15,9 @@ if scdoc.found()
|
||||||
custom_target(
|
custom_target(
|
||||||
manpage,
|
manpage,
|
||||||
input: markdown,
|
input: markdown,
|
||||||
command: [sh, '-c', 'scdoc < @INPUT@'],
|
|
||||||
output: manpage,
|
output: manpage,
|
||||||
|
command: scdoc,
|
||||||
|
feed: true,
|
||||||
capture: true,
|
capture: true,
|
||||||
install: true,
|
install: true,
|
||||||
install_dir: join_paths(get_option('mandir'), 'man' + s.split('.')[-1])
|
install_dir: join_paths(get_option('mandir'), 'man' + s.split('.')[-1])
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ project(
|
||||||
'c',
|
'c',
|
||||||
version: '0.3.0',
|
version: '0.3.0',
|
||||||
license: 'GPL-2.0-only',
|
license: 'GPL-2.0-only',
|
||||||
|
meson_version: '>=0.59.0',
|
||||||
default_options: [
|
default_options: [
|
||||||
'c_std=c11',
|
'c_std=c11',
|
||||||
'warning_level=2',
|
'warning_level=2',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue