X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b1abab7ba806b9eabb6e3a9e575f154be0829323..669af35fa6a1fb42422d0844ba289c51554ee4ac:/tools/doxygen/index_create.pl diff --git a/tools/doxygen/index_create.pl b/tools/doxygen/index_create.pl index 9be03abd71..f9f58d2953 100755 --- a/tools/doxygen/index_create.pl +++ b/tools/doxygen/index_create.pl @@ -1,5 +1,11 @@ #!/usr/bin/perl -w +# 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. + ($#ARGV >= 1) or die "Usage: index_create.pl "; my($type) = ""; @@ -37,17 +43,21 @@ close FILE; open OUTPUT,"> $output"; print OUTPUT <here \\endhtmlonly + EOF -foreach $type qw(define enumeration enumvalue function typedef) { +foreach $type (qw(define enumeration enumvalue function typedef)) { if(defined $database{$type}) { print OUTPUT "

$type

\n
    \n"; foreach $name (sort keys %{$database{$type}}) {