[vlc-devel] [PATCH] contrib: theora: disable doc generation
Alexandre Janniaux
ajanni at videolabs.io
Thu Nov 21 14:54:24 CET 2019
There will be a configuration option (--disable-doc) in 1.2.x but it's
not available for the current release.
---
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)
--
2.24.0
More information about the vlc-devel
mailing list