summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-04-07 14:32:59 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-04-07 14:32:59 -0700
commitcd5123da9b577efed4c968b2836d9a8dd11cc6fd (patch)
treef0bee1e539dea64d1cdba81edb95deb25af23c98
parentMerge branch 'jk/diffcore-break-divzero' (diff)
parentDocumentation: Strip texinfo anchors to avoid duplicates (diff)
downloadtgif-cd5123da9b577efed4c968b2836d9a8dd11cc6fd.tar.xz
Merge branch 'mg/texinfo-5'
Strip @anchor elements in the texinfo output of the documentation, as a single document created by concatenating our entire manual set will produce many duplicates that makes newer texinfo unhappy. * mg/texinfo-5: Documentation: Strip texinfo anchors to avoid duplicates
-rwxr-xr-xDocumentation/cat-texi.perl1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/cat-texi.perl b/Documentation/cat-texi.perl
index 828ec62554..87437f8a95 100755
--- a/Documentation/cat-texi.perl
+++ b/Documentation/cat-texi.perl
@@ -12,6 +12,7 @@ while (<STDIN>) {
push @menu, $1;
}
s/\(\@pxref{\[(URLS|REMOTES)\]}\)//;
+ s/\@anchor\{[^{}]*\}//g;
print TMP;
}
close TMP;