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:
7227feb
)
meson: Don't generate doc cache when no plugins are enabled
author
Nirbheek Chauhan
<nirbheek@centricular.com>
Wed, 17 Jul 2019 13:41:12 +0000
(19:11 +0530)
committer
Nirbheek Chauhan
<nirbheek@centricular.com>
Wed, 17 Jul 2019 13:42:49 +0000
(19:12 +0530)
Fixes gst-build with -Dauto-features=disabled
docs/meson.build
patch
|
blob
|
history
diff --git
a/docs/meson.build
b/docs/meson.build
index
e61d496
..
c4b5fe4
100644
(file)
--- a/
docs/meson.build
+++ b/
docs/meson.build
@@
-19,7
+19,9
@@
else
endif
plugins_cache = join_paths(meson.current_source_dir(), 'plugins', 'gst_plugins_cache.json')
-if plugins_cache_generator.found()
+if plugins.length() == 0
+ message('All base plugins have been disabled')
+elif plugins_cache_generator.found()
plugins_doc_dep = custom_target('base-plugins-doc-cache',
command: [plugins_cache_generator, plugins_cache, '@OUTPUT@', '@INPUT@'],
input: plugins,