mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-07-01 06:54:41 +00:00
doc: fix workaround for old doxygen versions
Fix workaround for old doxygen versions, and put a version requirement for Doxygen.
This commit is contained in:
parent
8633729a15
commit
29614a2c46
|
@ -28,6 +28,9 @@ def main():
|
|||
if not fn.exists():
|
||||
page2 = page.replace("page_man_", "md_doc_dox_programs_").replace("-", "_")
|
||||
fn = mandir / f"{page2}.3"
|
||||
if not fn.exists():
|
||||
page2 = page.replace("page_man_", "md_doc_dox_config_").replace("-", "_")
|
||||
fn = mandir / f"{page2}.3"
|
||||
else:
|
||||
page2 = None
|
||||
|
||||
|
|
|
@ -516,7 +516,7 @@ endif
|
|||
|
||||
generate_docs = get_option('man').enabled() or get_option('docs').enabled()
|
||||
if get_option('man').allowed() or get_option('docs').allowed()
|
||||
doxygen = find_program('doxygen', required : generate_docs)
|
||||
doxygen = find_program('doxygen', required : generate_docs, version : '>=1.9')
|
||||
pymod = import('python')
|
||||
python = pymod.find_installation('python3', required: generate_docs)
|
||||
generate_docs = doxygen.found() and python.found()
|
||||
|
|
Loading…
Reference in New Issue
Block a user