1 --- libtheora/configure.ac 2008-04-16 22:25:55.000000000 +0200
2 +++ libtheora.new/configure.ac 2008-10-07 10:06:22.000000000 +0200
3 @@ -351,6 +351,12 @@ AC_ARG_ENABLE(examples,
4 [ ac_enable_examples=$enableval ], [ ac_enable_examples=yes] )
5 AM_CONDITIONAL(THEORA_ENABLE_EXAMPLES, [test "x${ac_enable_examples}" != xno])
9 + [ --disable-docs disable docs ],
10 + [ ac_enable_docs=$enableval ], [ac_enable_docs=yes ] )
11 +AM_CONDITIONAL(THEORA_ENABLE_DOCS, [test "x${ac_enable_docs}" != xno])
13 dnl --------------------------------------------------
15 dnl --------------------------------------------------
16 @@ -410,7 +416,7 @@ AS_AC_EXPAND(INCLUDEDIR, ${includedir})
17 AS_AC_EXPAND(BINDIR, ${bindir})
18 AS_AC_EXPAND(DOCDIR, ${datadir}/doc)
20 -if test $HAVE_DOXYGEN = "false"; then
21 +if test $HAVE_DOXYGEN = "false" -o "x${ac_enable_docs}" = xno; then
25 --- libtheora/Makefile.am.orig 2008-10-07 10:01:12.000000000 +0200
26 +++ libtheora/Makefile.am 2008-10-07 10:00:36.000000000 +0200
31 -SUBDIRS = lib include doc tests m4 $(EXAMPLES_DIR)
32 +if THEORA_ENABLE_DOCS
38 +SUBDIRS = lib include ${DOC_DIR} tests m4 $(EXAMPLES_DIR)
41 # we include the whole debian/ dir in EXTRA_DIST because there's a problem
42 --- libtheora/Makefile.in 2008-10-07 10:21:32.000000000 +0200
43 +++ libtheora.new/Makefile.in 2008-10-07 10:21:05.000000000 +0200
44 @@ -245,7 +245,9 @@ top_srcdir = @top_srcdir@
45 AUTOMAKE_OPTIONS = foreign 1.6 dist-zip dist-bzip2
46 @THEORA_ENABLE_EXAMPLES_FALSE@EXAMPLES_DIR =
47 @THEORA_ENABLE_EXAMPLES_TRUE@EXAMPLES_DIR = examples
48 -SUBDIRS = lib include doc tests m4 $(EXAMPLES_DIR)
49 +@THEORA_ENABLE_DOCS_FALSE@DOC_DIR=
50 +@THEORA_ENABLE_DOCS_TRUE@DOC_DIR=doc
51 +SUBDIRS = lib include ${DOC_DIR} tests m4 $(EXAMPLES_DIR)
53 # we include the whole debian/ dir in EXTRA_DIST because there's a problem
54 # with autotools and HFS+ MacOSX file systems that caused debian/Makefile.am