X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0bdfa7f00791519433a1afce4fe327752cb43a99..0d9fb51432af6491c666d8cec1d2335d35c9a6c7:/tools/doxygen/doxygen_postprocesser.pl diff --git a/tools/doxygen/doxygen_postprocesser.pl b/tools/doxygen/doxygen_postprocesser.pl index a67169d260..37f925c5b6 100755 --- a/tools/doxygen/doxygen_postprocesser.pl +++ b/tools/doxygen/doxygen_postprocesser.pl @@ -8,6 +8,7 @@ my @extra_files = qw(html/index.html html/faq.html html/publis.html html/pages.h 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; @@ -141,6 +142,8 @@ sub handle_page { my $current=shift; my $level=shift; + print "Handle $current->{'file'} at level $level\n" if $debug{'handle'}; + # we generate the tabs bottom up begining from where we are in the tree # and display them top down, as it should in a file my @tabs = (); @@ -174,9 +177,8 @@ sub handle_page { $newname =~ s/.html/.new.html/; open TO,">$newname" || die; while () { - # add "current" to the module API granfather page - s|
  • Modules API
  • |
  • Modules API
  • |; - + # add "current" to the module API granfather page + s|
  • [^<]*
  • |
  • Modules API
  • |; print TO $_; last if m||; }