summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-06-24 12:16:28 +0100
committerSimon McVittie <smcv@collabora.com>2022-07-13 20:36:13 +0100
commit6b2d1d65f39addb82eb83bb4765d40b876f1f362 (patch)
tree52c4e715eee2ee2d8b171c4522c3027087fe049d /doc
parentc02d34555ad690ceb36dcf0e09c03de41a136677 (diff)
downloaddbus-6b2d1d65f39addb82eb83bb4765d40b876f1f362.tar.gz
doc: Build Ducktype documentation even if doxygen is not found
Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/meson.build38
1 files changed, 19 insertions, 19 deletions
diff --git a/doc/meson.build b/doc/meson.build
index 254eff9f..f7184791 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -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