[FFmpeg-devel] [PATCH] doc: enable compilation of monolithic tools doc with --enable-monolithic-tools-doc
Stefano Sabatini
stefasab at gmail.com
Tue Mar 19 20:56:11 CET 2013
Fix trac issue #2374.
---
configure | 8 +++++++-
doc/ffmpeg.texi | 12 ++++++++++++
doc/ffplay.texi | 12 ++++++++++++
doc/ffprobe.texi | 12 ++++++++++++
doc/ffserver.texi | 12 ++++++++++++
5 files changed, 55 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 8443db4..1080965 100755
--- a/configure
+++ b/configure
@@ -116,6 +116,7 @@ Documentation options:
--disable-manpages do not build man documentation pages
--disable-podpages do not build POD documentation pages
--disable-txtpages do not build text documentation pages
+ --enable-monolithic-tools-doc build monolithic tools documentation pages
Component options:
--disable-avdevice disable libavdevice build
@@ -1187,6 +1188,7 @@ DOCUMENT_LIST="
doc
htmlpages
manpages
+ monolithic_tools_doc
podpages
txtpages
"
@@ -2193,6 +2195,7 @@ enable stripping
enable asm
enable debug
enable doc
+disable monolithic_tools_doc
enable optimizations
enable runtime_cpudetect
enable safe_bitstream_reader
@@ -4382,7 +4385,7 @@ fi
echo "License: $license"
-echo "Creating config.mak and config.h..."
+echo "Creating config.mak, config.h, and doc/config.texi..."
test -e Makefile || $ln_s "$source_path/Makefile" .
@@ -4572,6 +4575,9 @@ if test -n "$WARNINGS"; then
enabled fatal_warnings && exit 1
fi
+echo "@c auto-generated by configure" > doc/config.texi
+enabled $doc_monolithic_tools_doc && echo "@set monolithic-tools-doc yes" >> doc/config.texi
+
# build pkg-config files
pkgconfig_generate(){
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index ca5d652..9abde17 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -1351,6 +1351,18 @@ ffmpeg -i src.ext -lmax 21*QP2LAMBDA dst.ext
@end itemize
@c man end EXAMPLES
+ at include config.texi
+ at ifset monolithic-tools-doc
+ at include syntax.texi
+ at include eval.texi
+ at include codecs.texi
+ at include bitstream_filters.texi
+ at include formats.texi
+ at include devices.texi
+ at include protocols.texi
+ at include filters.texi
+ at end ifset
+
@chapter See Also
@ifhtml
diff --git a/doc/ffplay.texi b/doc/ffplay.texi
index ee160a0..583ff39 100644
--- a/doc/ffplay.texi
+++ b/doc/ffplay.texi
@@ -201,6 +201,18 @@ Seek to percentage in file corresponding to fraction of width.
@c man end
+ at include config.texi
+ at ifset monolithic-tools-doc
+ at include syntax.texi
+ at include eval.texi
+ at include codecs.texi
+ at include bitstream_filters.texi
+ at include formats.texi
+ at include devices.texi
+ at include protocols.texi
+ at include filters.texi
+ at end ifset
+
@chapter See Also
@ifhtml
diff --git a/doc/ffprobe.texi b/doc/ffprobe.texi
index 6e30b2f..4b6c63b 100644
--- a/doc/ffprobe.texi
+++ b/doc/ffprobe.texi
@@ -487,6 +487,18 @@ DV, GXF and AVI timecodes are available in format metadata
@end itemize
@c man end TIMECODE
+ at include config.texi
+ at ifset monolithic-tools-doc
+ at include syntax.texi
+ at include eval.texi
+ at include codecs.texi
+ at include bitstream_filters.texi
+ at include formats.texi
+ at include devices.texi
+ at include protocols.texi
+ at include filters.texi
+ at end ifset
+
@chapter See Also
@ifhtml
diff --git a/doc/ffserver.texi b/doc/ffserver.texi
index f1b7599..1fb0e9c 100644
--- a/doc/ffserver.texi
+++ b/doc/ffserver.texi
@@ -246,6 +246,18 @@ messages to stdout.
@end table
@c man end
+ at include config.texi
+ at ifset monolithic-tools-doc
+ at include syntax.texi
+ at include eval.texi
+ at include codecs.texi
+ at include bitstream_filters.texi
+ at include formats.texi
+ at include devices.texi
+ at include protocols.texi
+ at include filters.texi
+ at end ifset
+
@chapter See Also
@ifhtml
--
1.7.9.5
More information about the ffmpeg-devel
mailing list