[FFmpeg-devel] [PATCH 1/3] configure: Only build documentation if pod2man is available

Stefano Sabatini stefasab at gmail.com
Wed Jul 11 14:07:38 CEST 2012


On date Tuesday 2012-07-10 23:24:04 -0300, jamal encoded:
> ---
>  configure |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/configure b/configure
> index 1958fa6..2f9d9a3 100755
> --- a/configure
> +++ b/configure
> @@ -1778,7 +1778,7 @@ ffprobe_deps="avcodec avformat"
>  ffserver_deps="avformat ffm_muxer fork rtp_protocol rtsp_demuxer"
>  ffserver_extralibs='$ldl'
>  
> -doc_deps="texi2html"
> +doc_deps="pod2man"

I'd rather drop the dependencies, and add to DOCS what is possible
depending on the presence of texi2html/pod2man.
This way it is possible to build docs with either man or HTML manuals.

>  # tests
>  
> @@ -3376,6 +3376,7 @@ enabled sdl && add_cflags $sdl_cflags && add_extralibs $sdl_libs
>  
>  texi2html -version > /dev/null 2>&1 && enable texi2html || disable texi2html
>  makeinfo --version > /dev/null 2>&1 && enable makeinfo  || disable makeinfo
> +pod2man --help > /dev/null 2>&1 && enable pod2man || disable pod2man
>  
>  check_header linux/fb.h
>  check_header linux/videodev.h
> -- 
> 1.7.3.4
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

-- 
FFmpeg = Faithless and Forgiving Meaningful Puristic Extended Gospel


More information about the ffmpeg-devel mailing list