summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-02-25 23:57:27 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-02-25 23:57:27 +0100
commit3c3b03ec397a535057b45c094facae280f7fd686 (patch)
tree64feb4b9d5ea3b57528d8a2548096d093a2019a2 /doc
parentc6ecdd8fa190fe2efddc03631d9f754368a3c25f (diff)
downloadgnutls-3c3b03ec397a535057b45c094facae280f7fd686.tar.gz
updated
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/scripts/cleanup-autogen.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/scripts/cleanup-autogen.pl b/doc/scripts/cleanup-autogen.pl
index d7921950b4..fdc9ecd677 100755
--- a/doc/scripts/cleanup-autogen.pl
+++ b/doc/scripts/cleanup-autogen.pl
@@ -26,10 +26,11 @@ my $menu = 0;
my $i = 0;
while ($line = <>) {
- if ($line =~ /\@node/) {
+ if ($line =~ /\@node (.*)/) {
if ($init == 0) {
$init = 1;
} else {
+ print "\@anchor\{$1\}\n";
next;
}
}