mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-27 07:58:07 -04:00
meson: add -Dwith-docs=disabled|enabled|auto
When enabled, man pages are generated and installed, along with README.md, CHANGELOG.md and LICENSE. This requires ‘scdoc’ as a make dependency. When disabled, ‘scdoc’ is no longer required, no man pages will be built, and no documentation at all is installed. Defaults to ‘enabled’.
This commit is contained in:
parent
f8174ebb93
commit
9d6b2c9342
4 changed files with 25 additions and 11 deletions
|
|
@ -1,6 +1,5 @@
|
|||
sh = find_program('sh', native: true)
|
||||
|
||||
scdoc = dependency('scdoc', native: true)
|
||||
scdoc_prog = find_program(scdoc.get_pkgconfig_variable('scdoc'), native: true)
|
||||
|
||||
foreach man_src : [{'name': 'foot', 'section' : 1},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue