aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-01-12 00:53:42 +0100
committerTimothy Gu <timothygu99@gmail.com>2013-08-27 09:02:59 -0700
commitae224c924ec8cfdad8a52c03cf69c8f133a2584b (patch)
treed87a7978147bcc2f66f864491a2d28c4a6edec28 /doc
parentd56dd43c50b4f3f35685de87cf1ab03c751ffd98 (diff)
downloadffmpeg-ae224c924ec8cfdad8a52c03cf69c8f133a2584b.tar.gz
doc/texipod: add rule to correctly interpret @ref{ANCHOR,XREF,SECTION_NAME,...}
This allows to name an internal reference in the POD/MAN output. (cherry picked from commit c499d45c6bea8d7bbbb7a819c53fe9766136bf29) Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/texi2pod.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index bf333b891b..95e52f545e 100755
--- a/doc/texi2pod.pl
+++ b/doc/texi2pod.pl
@@ -356,6 +356,7 @@ sub postprocess
s/\(?\@xref\{(?:[^\}]*)\}(?:[^.<]|(?:<[^<>]*>))*\.\)?//g;
s/\s+\(\@pxref\{(?:[^\}]*)\}\)//g;
s/;\s+\@pxref\{(?:[^\}]*)\}//g;
+ s/\@ref\{(?:[^,]*,)(?:[^,]*,)([^,\}]*).*\}/$1/g;
s/\@ref\{([^\}]*)\}/$1/g;
s/\@noindent\s*//g;
s/\@refill//g;