[FFmpeg-devel] [PATCH] documentation: cater for older texi2html versions
Måns Rullgård
mans
Sun Jan 30 14:31:28 CET 2011
Christian Ebert <blacktrash at gmx.net> writes:
> ---
> Makefile | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 2658a30..573dff3 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -124,7 +124,9 @@ doc/libavfilter.html: doc/filters.texi
>
> doc/%.html: TAG = HTML
> doc/%.html: doc/%.texi $(SRC_PATH_BARE)/doc/t2h.init
> - $(M)cd doc && texi2html -monolithic --init-file $(SRC_PATH_BARE)/doc/t2h.init $(<:doc/%=%)
> + $(M)cd doc && ( \
> + texi2html -monolithic --init-file $(SRC_PATH_BARE)/doc/t2h.init $(<:doc/%=%) 2>/dev/null \
> + || texi2html -monolithic -init_file $(SRC_PATH_BARE)/doc/t2h.init $(<:doc/%=%) )
>
> doc/%.pod: TAG = POD
> doc/%.pod: doc/%.texi
Which versions of texi2html is this intended for? 1.76 and 1.78
accept both flag styles. Do newer versions (5.0) only accept the
double-dash style? Otherwise we could simply use the old style. If
new versions do require the new style, the patch is rejected. We will
only go so far in supporting software so old it isn't even in Debian
stable anymore.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list