projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d9ffa3b
)
doc: Require hotdoc >= 0.11.0
author
Thibault Saunier
<tsaunier@igalia.com>
Wed, 3 Jun 2020 22:38:58 +0000
(18:38 -0400)
committer
Thibault Saunier
<tsaunier@igalia.com>
Thu, 4 Jun 2020 17:33:16 +0000
(13:33 -0400)
docs/meson.build
patch
|
blob
|
history
diff --git
a/docs/meson.build
b/docs/meson.build
index
465bd81
..
94023d5
100644
(file)
--- a/
docs/meson.build
+++ b/
docs/meson.build
@@
-39,6
+39,17
@@
if not hotdoc_p.found()
subdir_done()
endif
subdir_done()
endif
+hotdoc_req = '>= 0.11.0'
+hotdoc_version = run_command(hotdoc_p, '--version').stdout()
+if not hotdoc_version.version_compare(hotdoc_req)
+ if get_option('doc').enabled()
+ error('Hotdoc version @0@ not found, got @1@'.format(hotdoc_req, hotdoc_version))
+ else
+ message('Hotdoc version @0@ not found, got @1@'.format(hotdoc_req, hotdoc_version))
+ subdir_done()
+ endif
+endif
+
hotdoc = import('hotdoc')
foreach extension: required_hotdoc_extensions
if not hotdoc.has_extensions(extension)
hotdoc = import('hotdoc')
foreach extension: required_hotdoc_extensions
if not hotdoc.has_extensions(extension)