mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-25 04:40:07 +01:00
doc: Build Ducktype documentation even if doxygen is not found
Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
c02d34555a
commit
6b2d1d65f3
1 changed files with 19 additions and 19 deletions
|
|
@ -209,26 +209,26 @@ if doxygen.found()
|
|||
install_dir: docs_dir,
|
||||
)
|
||||
endif
|
||||
endif
|
||||
|
||||
if ducktype.found() and yelpbuild.found()
|
||||
design_page = custom_target('dbus-api-design.page',
|
||||
input: 'dbus-api-design.duck',
|
||||
output: 'dbus-api-design.page',
|
||||
command: [ ducktype, '-o', '@OUTPUT@', '@INPUT@' ],
|
||||
)
|
||||
html_files += custom_target('dbus-api-design.html',
|
||||
input: design_page,
|
||||
output: [
|
||||
'dbus-api-design.html',
|
||||
'yelp.js',
|
||||
'C.css',
|
||||
'highlight.pack.js',
|
||||
],
|
||||
command: [ yelpbuild, 'html', '@INPUT@', '-o', meson.current_build_dir() ],
|
||||
install: true,
|
||||
install_dir: docs_dir,
|
||||
)
|
||||
endif
|
||||
if ducktype.found() and yelpbuild.found()
|
||||
design_page = custom_target('dbus-api-design.page',
|
||||
input: 'dbus-api-design.duck',
|
||||
output: 'dbus-api-design.page',
|
||||
command: [ ducktype, '-o', '@OUTPUT@', '@INPUT@' ],
|
||||
)
|
||||
html_files += custom_target('dbus-api-design.html',
|
||||
input: design_page,
|
||||
output: [
|
||||
'dbus-api-design.html',
|
||||
'yelp.js',
|
||||
'C.css',
|
||||
'highlight.pack.js',
|
||||
],
|
||||
command: [ yelpbuild, 'html', '@INPUT@', '-o', meson.current_build_dir() ],
|
||||
install: true,
|
||||
install_dir: docs_dir,
|
||||
)
|
||||
endif
|
||||
|
||||
if can_upload_docs
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue