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>
This commit is contained in:
Junio C Hamano
2008-06-12 14:21:05 -07:00
parent 6bfa3c9929
commit 5ada3696f6

View File

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