X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0be4344929e29fa8025412235ef9abffc6b9ab7b..8becdbf544e7bdb2a2193660f9b0e122b9cbdb9c:/tools/doxygen/index_create.pl diff --git a/tools/doxygen/index_create.pl b/tools/doxygen/index_create.pl index 2ab288c14f..987f2a1504 100755 --- a/tools/doxygen/index_create.pl +++ b/tools/doxygen/index_create.pl @@ -1,4 +1,12 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl + +# Copyright (c) 2005, 2012-2014. The SimGrid Team. +# All rights reserved. + +# This program is free software; you can redistribute it and/or modify it +# under the terms of the license (GNU LGPL) which comes with this package. + +use warnings; ($#ARGV >= 1) or die "Usage: index_create.pl "; @@ -40,15 +48,13 @@ print OUTPUT <here \\endhtmlonly - + * \\brief The alphabetical list of all functions, macros and types + * defined by SimGrid + * + * List of all functions, variables, defines, enums, and typedefs with + * links to the files they belong to. + * + * \\htmlonly Although completely useless, the complete list of structures defined can be found here \\endhtmlonly EOF @@ -59,7 +65,12 @@ foreach $type (qw(define enumeration enumvalue function typedef)) { if($type eq "function") { print OUTPUT "\t
  • $name()
  • \n"; } else { - print OUTPUT "\t
  • #$name
  • \n"; + if($type eq "enumeration") { + print OUTPUT "\t
  • ".$name."::EType
  • \n"; + } + else { + print OUTPUT "\t
  • #$name
  • \n"; + } } } print OUTPUT "\n \n";