Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make sure that the new contrib page gets postprocessed. Arnaud could you please push...
[simgrid.git] / tools / doxygen / doxygen_postprocesser.pl
index a0756b3..a67169d 100755 (executable)
@@ -2,6 +2,9 @@
 
 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/publis.html html/pages.html html/modules.html html/contrib.html index.php);
+
 my %debug;
 $debug{'parse'} = 0; # show how we parse the module tree
 $debug{'input'} = 0; # display the resulting tree
@@ -204,14 +207,14 @@ handle_page($top,-2);# skip roots (we have 2 roots) in level counting
 ###
 ### Post-processsing common to all pages
 ###
-map {push @allfiles,$_} qw(html/index.html html/faq.html html/publis.html html/pages.html index.php);
+map {push @allfiles,$_} @extra_files;
 
 foreach my $file (@allfiles) {
     open FROM,"$file" || die;
     my $outfile = "$file";
     $outfile =~ s/.(html|php)$/.new.$1/;
     open TO,">$outfile" || die;
-    print "POSTPROCESSING $file (tmp=$outfile)\n";
+#    print "POSTPROCESSING $file (tmp=$outfile)\n";
     while (<FROM>) {
       # Add the simgrid css, just in case
       print TO '<link href="simgrid.css" rel="stylesheet" type="text/css">'."\n"