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

Stefano Sabatini stefano.sabatini-lala
Fri Nov 26 00:50:33 CET 2010


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;
-- 
1.7.1




More information about the ffmpeg-devel mailing list