[FFmpeg-devel] [PATCH] Remove @anchor{} commands from the POD output.

Stefano Sabatini stefano.sabatini-lala
Tue Nov 30 22:42:26 CET 2010


On date Friday 2010-11-26 00:50:33 +0100, Stefano Sabatini encoded:
> This allows to use the @xref{} command for the HTML output.
> ---
>  doc/texi2pod.pl |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
> index fd3f020..aa3273e 100755
> --- a/doc/texi2pod.pl
> +++ b/doc/texi2pod.pl
> @@ -346,6 +346,7 @@ sub postprocess
>      # @* is also impossible in .pod; we discard it and any newline that
>      # follows it.  Similarly, our macro @gol must be discarded.
>  
> +    s/\@anchor{(?:[^\}]*)\}//g;
>      s/\(?\@xref\{(?:[^\}]*)\}(?:[^.<]|(?:<[^<>]*>))*\.\)?//g;
>      s/\s+\(\@pxref\{(?:[^\}]*)\}\)//g;
>      s/;\s+\@pxref\{(?:[^\}]*)\}//g;

Applied.
-- 
FFmpeg = Fundamental and Fabulous Miracolous Porno Excellent Game



More information about the ffmpeg-devel mailing list