@matheusbsbs / matheus-bagliano / commits / 5ada3696f6
Fork 0

Documentation: exclude @pxref{[REMOTES]} from texinfo intermediate output

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>

Junio C Hamano committed Jun 12, 2008 at 14:21 UTC 5ada3696f6a7c99028ec0f95c629def747373aef
1 file changed +1 -1
Documentation/cat-texi.perl
+1 -1
@@ -11,7 +11,7 @@ while (<STDIN>) {
11 if (s/^\@top (.*)/\@node $1,,,Top/) {
12 push @menu, $1;
13 }
14 - s/\(\@pxref{\[URLS\]}\)//;
14 + s/\(\@pxref{\[(URLS|REMOTES)\]}\)//;
15 print TMP;
16 }
17 close TMP;