Code

Documentation: exclude @pxref{[REMOTES]} from texinfo intermediate output
authorJunio C Hamano <gitster@pobox.com>
Thu, 12 Jun 2008 21:21:05 +0000 (14:21 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 Jun 2008 21:21:05 +0000 (14:21 -0700)
We already had a hack to exclude @pxref{[URLS]} from the texi stream that
refers to nonexistent anchor.

This allows "make info" to produce gitman.info again.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/cat-texi.perl

index e3d8e9faa8c4b64c757080b89f304f78d30fbc17..dbc133cd3c1f19dd507014477e68b8ada78eab5e 100755 (executable)
@@ -11,7 +11,7 @@ while (<STDIN>) {
        if (s/^\@top (.*)/\@node $1,,,Top/) {
                push @menu, $1;
        }
-       s/\(\@pxref{\[URLS\]}\)//;
+       s/\(\@pxref{\[(URLS|REMOTES)\]}\)//;
        print TMP;
 }
 close TMP;