[FFmpeg-cvslog] doc/texipod: add rule to correctly interpret @ref{ANCHOR, XREF, SECTION_NAME , ...}
Stefano Sabatini
git at videolan.org
Thu Aug 29 00:22:06 CEST 2013
ffmpeg | branch: release/1.0 | Stefano Sabatini <stefasab at gmail.com> | Sat Jan 12 00:53:42 2013 +0100| [df21807141850d4a09c87b5091aebe487cb1c514] | committer: Timothy Gu
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 at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=df21807141850d4a09c87b5091aebe487cb1c514
---
doc/texi2pod.pl | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index bf333b8..95e52f5 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;
More information about the ffmpeg-cvslog
mailing list