[SCM] libav/experimental: Remove @anchor{} commands from the POD output.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:19:32 UTC 2013


The following commit has been merged in the experimental branch:
commit 60445a09951b1c5076ab8bd4ecdf1146f0392f56
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date:   Tue Nov 30 20:14:29 2010 +0000

    Remove @anchor{} commands from the POD output.
    
    This allows to use the @xref{} command for the HTML output.
    
    Originally committed as revision 25854 to svn://svn.ffmpeg.org/ffmpeg/trunk

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;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list