]> git.sesse.net Git - ffmpeg/commitdiff
Remove @anchor{} commands from the POD output.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Tue, 30 Nov 2010 20:14:29 +0000 (20:14 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Tue, 30 Nov 2010 20:14:29 +0000 (20:14 +0000)
This allows to use the @xref{} command for the HTML output.

Originally committed as revision 25854 to svn://svn.ffmpeg.org/ffmpeg/trunk

doc/texi2pod.pl

index fd3f02059d3bad499b4556cc7fb39c032924dc54..aa3273ec1a0e70971c8b213e1c3b110ef3e166f1 100755 (executable)
@@ -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;