mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-10-02 22:25:17 +00:00
meson.build: remove automagic docs and manpages
This commit is contained in:
parent
fa5c2000f9
commit
6a0ee7a298
20
meson.build
20
meson.build
|
@ -157,16 +157,16 @@ subdir('spa')
|
|||
subdir('src')
|
||||
subdir('pkgconfig')
|
||||
|
||||
doxygen = find_program('doxygen', required: false)
|
||||
if doxygen.found()
|
||||
subdir('doc')
|
||||
else
|
||||
message('Documentation disabled without doxygen')
|
||||
if get_option('enable_docs')
|
||||
doxygen_dep = find_program('doxygen')
|
||||
if doxygen_dep.found()
|
||||
subdir('doc')
|
||||
endif
|
||||
endif
|
||||
|
||||
xmltoman = find_program('xmltoman', required: false)
|
||||
if xmltoman.found()
|
||||
subdir('man')
|
||||
else
|
||||
message('Man page disabled without xmltoman')
|
||||
if get_option('enable_man')
|
||||
xmltoman_dep = find_program('xmltoman')
|
||||
if xmltoman_dep.found()
|
||||
subdir('man')
|
||||
endif
|
||||
endif
|
||||
|
|
8
meson_options.txt
Normal file
8
meson_options.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
option('enable_docs',
|
||||
description: 'Build documentation',
|
||||
type: 'boolean',
|
||||
value: false)
|
||||
option('enable_man',
|
||||
description: 'Build manpages',
|
||||
type: 'boolean',
|
||||
value: false)
|
Loading…
Reference in a new issue