[FFmpeg-devel] [PATCH] Add $(ALLPODPAGES) to Makefile, fix dependency generation for pod files.

Måns Rullgård mans
Tue Feb 1 01:54:35 CET 2011


Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:

> ---
>  Makefile |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index fb9d8a4..4be2eaa 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -23,6 +23,7 @@ BASENAMES   = ffmpeg ffplay ffprobe ffserver
>  ALLPROGS    = $(BASENAMES:%=%$(EXESUF))
>  ALLPROGS_G  = $(BASENAMES:%=%_g$(EXESUF))
>  ALLMANPAGES = $(BASENAMES:%=%.1)
> +ALLPODPAGES = $(BASENAMES:%=%.pod)
>  ALLHTMLPAGES= $(BASENAMES:%=%.html)
>
>  FFLIBS-$(CONFIG_AVDEVICE) += avdevice
> @@ -112,7 +113,7 @@ version.h .version:
>
>  alltools: $(TOOLS)
>
> -DOCS = $(addprefix doc/, developer.html faq.html general.html libavfilter.html $(ALLHTMLPAGES) $(ALLMANPAGES))
> +DOCS = $(addprefix doc/, developer.html faq.html general.html libavfilter.html $(ALLHTMLPAGES) $(ALLMANPAGES) $(ALLPODPAGES))

This line had me wondering, why do you build documentation for
disabled tools?  Wouldn't using the non-ALL versions of those
variables make more sense?

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list