[Buildroot] [PATCH v1] gst1-validate: disable buliding documentation using sphinx

Peter Seiderer ps.report at gmx.net
Thu Aug 10 21:27:02 UTC 2017


Fix build failure in case (a non functional) sphinx documentation
system is installed on the host (reported [1] and fix tested [2]
by grunpferd at netscape.net).

Fixes:

  sphinx-build -b html -d ./doctrees   . ./html
  Error: Source directory doesn't contain a conf.py file.

[1] http://lists.busybox.net/pipermail/buildroot/2017-August/200021.html
[2] http://lists.busybox.net/pipermail/buildroot/2017-August/200033.html

Signed-off-by: Peter Seiderer <ps.report at gmx.net>
---
 package/gstreamer1/gst1-validate/gst1-validate.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/gstreamer1/gst1-validate/gst1-validate.mk b/package/gstreamer1/gst1-validate/gst1-validate.mk
index c5e3ec6fc9..c6e2ac9e15 100644
--- a/package/gstreamer1/gst1-validate/gst1-validate.mk
+++ b/package/gstreamer1/gst1-validate/gst1-validate.mk
@@ -18,4 +18,8 @@ GST1_VALIDATE_DEPENDENCIES = \
 	python \
 	$(if $(BR2_PACKAGE_CAIRO),cairo)
 
+# disabling building documentation in case sphinx
+# framework installed on host
+GST1_VALIDATE_CONF_ENV = ac_cv_prog_enable_sphinx_doc=no
+
 $(eval $(autotools-package))
-- 
2.11.0



More information about the buildroot mailing list