summaryrefslogtreecommitdiff
path: root/doc/texi2pod.pl
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-11-30 20:14:29 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-11-30 20:14:29 +0000
commit60445a09951b1c5076ab8bd4ecdf1146f0392f56 (patch)
tree07fe388ef729e9372d1016df66e02c9128c14601 /doc/texi2pod.pl
parent3d305fd0714afddfd5cbdfa0553beacf9238cd24 (diff)
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
Diffstat (limited to 'doc/texi2pod.pl')
-rwxr-xr-xdoc/texi2pod.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index fd3f02059d..aa3273ec1a 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;