mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
Add labwc(5)
This commit is contained in:
parent
32a3560bc3
commit
93d5809414
3 changed files with 152 additions and 0 deletions
18
docs/meson.build
Normal file
18
docs/meson.build
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
pandoc = find_program('pandoc', required: false)
|
||||
|
||||
sections = ['1', '5']
|
||||
|
||||
if pandoc.found()
|
||||
foreach s : sections
|
||||
markdown = files('labwc.' + s + '.md')
|
||||
manpage = 'labwc.' + s
|
||||
custom_target(
|
||||
manpage,
|
||||
command: [pandoc,'-s','-t','man',markdown],
|
||||
output: manpage,
|
||||
capture: true,
|
||||
install: true,
|
||||
install_dir: join_paths(get_option('mandir'), 'man' + s)
|
||||
)
|
||||
endforeach
|
||||
endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue