X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6bb42aeb7bde961cddc355194ba73cc5f056ba0d..ada64beec413781e8e11cc6106c5411962cac0fb:/tools/doxygen/doxygen_postprocesser.pl diff --git a/tools/doxygen/doxygen_postprocesser.pl b/tools/doxygen/doxygen_postprocesser.pl index 3b6dc7c346..f50d016372 100755 --- a/tools/doxygen/doxygen_postprocesser.pl +++ b/tools/doxygen/doxygen_postprocesser.pl @@ -2,9 +2,24 @@ use strict; +# Add here the pages of the documentation generated by a @page doxygen macro +my @extra_files = qw(html/index.html html/faq.html html/history.html html/contrib.html html/people.html + html/publis.html html/publis_core.html html/publis_extern.html html/publis_intra.html + html/pages.html html/modules.html html/annotated.html html/functions.html html/functions_vars.html index.php + html/GRAS_tut.html); + +# GRAS tutorial +map {push @extra_files, "html/GRAS_tut_$_.html"} qw (intro + tour tour_install tour_setup tour_simpleexchange tour_args tour_callbacks tour_globals + tour_logs tour_timers tour_exceptions tour_rpc); + +# GRAS examples +map {push @extra_files, "html/GRAS_ex_$_.html"} qw (ping mmrpc token timer); + my %debug; $debug{'parse'} = 0; # show how we parse the module tree $debug{'input'} = 0; # display the resulting tree +$debug{'handle'}= 0; # Be verbose on the post-processing $debug{'rename'}= 0; # do not overwrite the files (allows several debuging runs without rerunning doxygen) my @allfiles; @@ -24,22 +39,34 @@ my $top; my $current; my $entry; -$current->{'label'}="ROOT"; -push @{$top->{'down'}},$current; +# $current->{'label'}="ROOT"; +# push @{$top->{'down'}},$current; +# print "Push $current '".($current->{'label'})."' as child of $top '".($top->{'label'})."'\n" if $debug{'parse'}; +# $current=$top; +$top->{'label'}="ROOT"; +print "Create ROOT $top\n" if $debug{'parse'}; $current=$top; -print "Push $current as child of $top\n" if $debug{'parse'}; +# Read the whole data to postprocess it a bit +my $in; while () { + $in .= $_; +} +$in =~ s/