[vlc-commits] contrib: theora: disable doc generation

Alexandre Janniaux git at videolan.org
Sat Feb 15 13:13:27 CET 2020


vlc/vlc-3.0 | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Thu Nov 21 14:54:24 2019 +0100| [a875b2e6fe623c72afdc24374d8160e11d261541] | committer: Jean-Baptiste Kempf

contrib: theora: disable doc generation

There will be a configuration option (--disable-doc) in 1.2.x but it's
not available for the current release.

Signed-off-by: Thomas Guillem <thomas at gllm.fr>
(cherry picked from commit 1b86bfdef16d2dd3016e92d09d656d8185075751)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=a875b2e6fe623c72afdc24374d8160e11d261541
---

 contrib/src/theora/rules.mak | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/contrib/src/theora/rules.mak b/contrib/src/theora/rules.mak
index a9ca4d1ad4..612c73ce0d 100644
--- a/contrib/src/theora/rules.mak
+++ b/contrib/src/theora/rules.mak
@@ -17,6 +17,9 @@ libtheora: libtheora-$(THEORA_VERSION).tar.xz .sum-theora
 	$(UNPACK)
 	$(APPLY) $(SRC)/theora/libtheora-compiler-differentiation.patch
 	$(APPLY) $(SRC)/theora/libtheora-no-forceaddr.patch
+	# Disable the generation of documentation. In 1.2.x it can be replaced by
+	# a --disable-doc parameter.
+	sed -i.orig "/^SUBDIRS =/s/doc//g" "$(UNPACK_DIR)/Makefile.am" "$(UNPACK_DIR)/Makefile.in"
 	$(UPDATE_AUTOCONFIG)
 	$(MOVE)
 



More information about the vlc-commits mailing list