Documentation: Strip texinfo anchors to avoid duplicates
This keeps texinfo 5.x happy. See https://bugs.gentoo.org/464210. Signed-off-by: Martin von Gagern <Martin.vGagern@gmx.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
072dda68ea
commit
cbfd124c22
@ -12,6 +12,7 @@ while (<STDIN>) {
|
|||||||
push @menu, $1;
|
push @menu, $1;
|
||||||
}
|
}
|
||||||
s/\(\@pxref{\[(URLS|REMOTES)\]}\)//;
|
s/\(\@pxref{\[(URLS|REMOTES)\]}\)//;
|
||||||
|
s/\@anchor\{[^{}]*\}//g;
|
||||||
print TMP;
|
print TMP;
|
||||||
}
|
}
|
||||||
close TMP;
|
close TMP;
|
||||||
|
Loading…
Reference in New Issue
Block a user