From: Nikos Mavrogiannopoulos Date: Tue, 13 Sep 2011 20:18:12 +0000 (+0200) Subject: functions and enumerations are being added in index. X-Git-Tag: gnutls_3_0_3~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e4f3009c81d41b0b10cc9f2c5ebf41e211c54f5;p=thirdparty%2Fgnutls.git functions and enumerations are being added in index. --- diff --git a/doc/scripts/gdoc b/doc/scripts/gdoc index 86dceb3c68..8705d8c099 100755 --- a/doc/scripts/gdoc +++ b/doc/scripts/gdoc @@ -430,6 +430,7 @@ sub output_tex { print "\n\n\\begin{function}\n"; print "\\functionTitle{". $func . "}\n"; + print "\\index{". $func . "}\n"; $type = $args{'functiontype'}; $type =~ s/_/\\_/g; @@ -518,6 +519,7 @@ sub output_enum_tex { print "\n\n\\begin{enum}\n"; $name =~ s/_/\\_/g; print "\\enumTitle{". $name . "}\n"; + print "\\index{". $name . "}\n"; print "\n\\begin{enumList}\n";