projects
/
platform
/
upstream
/
gst-plugins-ugly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f31f085
)
meson: Don't generate doc cache when no plugins are enabled
author
Matthew Waters
<matthew@centricular.com>
Fri, 23 Aug 2019 06:25:25 +0000
(16:25 +1000)
committer
Matthew Waters
<matthew@centricular.com>
Fri, 23 Aug 2019 06:25:25 +0000
(16:25 +1000)
Fixes gst-build with -Dauto-features=disabled -Dugly=enabled
docs/meson.build
patch
|
blob
|
history
diff --git
a/docs/meson.build
b/docs/meson.build
index 842ed728184aa2a8055df59823062853c82e944f..07a0f12c79a4dd5790d6a78c78745ed18a638edf 100644
(file)
--- a/
docs/meson.build
+++ b/
docs/meson.build
@@
-10,7
+10,9
@@
else
required: false)
endif
-if plugins_cache_generator.found()
+if plugins.length() == 0
+ message('All ugly plugins have been disabled')
+elif plugins_cache_generator.found()
plugins_doc_dep = custom_target('ugly-plugins-doc-cache',
command: [plugins_cache_generator, plugins_cache, '@OUTPUT@', '@INPUT@'],
input: plugins,