mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04: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
2 changed files with 4 additions and 1 deletions
|
|
@ -28,6 +28,9 @@ def main():
|
||||||
if not fn.exists():
|
if not fn.exists():
|
||||||
page2 = page.replace("page_man_", "md_doc_dox_programs_").replace("-", "_")
|
page2 = page.replace("page_man_", "md_doc_dox_programs_").replace("-", "_")
|
||||||
fn = mandir / f"{page2}.3"
|
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:
|
else:
|
||||||
page2 = None
|
page2 = None
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -516,7 +516,7 @@ endif
|
||||||
|
|
||||||
generate_docs = get_option('man').enabled() or get_option('docs').enabled()
|
generate_docs = get_option('man').enabled() or get_option('docs').enabled()
|
||||||
if get_option('man').allowed() or get_option('docs').allowed()
|
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')
|
pymod = import('python')
|
||||||
python = pymod.find_installation('python3', required: generate_docs)
|
python = pymod.find_installation('python3', required: generate_docs)
|
||||||
generate_docs = doxygen.found() and python.found()
|
generate_docs = doxygen.found() and python.found()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue