[v2] gst1-validate: disable building documentation using sphinx

Message ID 20170812210610.536-1-arnout@mind.be
State Accepted
Headers show

Commit Message

Arnout Vandecappelle Aug. 12, 2017, 9:06 p.m.
From: Peter Seiderer <ps.report@gmx.net>

Fix a build failure in case (a non functional) sphinx documentation
system is installed on the host (reported [1] and fix tested [2]
by grunpferd@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/200267.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Cc: grunpferd@netscape.net
[Arnout:
 - use --disable-sphinx-doc instead of a cv variable
 - remove the comment, it speaks for itself]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/gstreamer1/gst1-validate/gst1-validate.mk | 2 ++
 1 file changed, 2 insertions(+)

Comments

Thomas Petazzoni Aug. 16, 2017, 9:15 p.m. | #1
Hello,

On Sat, 12 Aug 2017 23:06:10 +0200, Arnout Vandecappelle
(Essensium/Mind) wrote:
> From: Peter Seiderer <ps.report@gmx.net>
> 
> Fix a build failure in case (a non functional) sphinx documentation
> system is installed on the host (reported [1] and fix tested [2]
> by grunpferd@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/200267.html
> 
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> Cc: grunpferd@netscape.net
> [Arnout:
>  - use --disable-sphinx-doc instead of a cv variable
>  - remove the comment, it speaks for itself]
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> ---
>  package/gstreamer1/gst1-validate/gst1-validate.mk | 2 ++
>  1 file changed, 2 insertions(+)

Applied to master, thanks.

Thomas

Patch

diff --git a/package/gstreamer1/gst1-validate/gst1-validate.mk b/package/gstreamer1/gst1-validate/gst1-validate.mk
index c5e3ec6fc9..31b01ef5fa 100644
--- a/package/gstreamer1/gst1-validate/gst1-validate.mk
+++ b/package/gstreamer1/gst1-validate/gst1-validate.mk
@@ -18,4 +18,6 @@  GST1_VALIDATE_DEPENDENCIES = \
 	python \
 	$(if $(BR2_PACKAGE_CAIRO),cairo)
 
+GST1_VALIDATE_CONF_OPTS += --disable-sphinx-doc
+
 $(eval $(autotools-package))