A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Completed platform doc. No missing sections anymore.
[simgrid.git]
/
tools
/
doxygen
/
toc_create.pl
diff --git
a/tools/doxygen/toc_create.pl
b/tools/doxygen/toc_create.pl
index
c5b2b46
..
13b1cd0
100755
(executable)
--- a/
tools/doxygen/toc_create.pl
+++ b/
tools/doxygen/toc_create.pl
@@
-38,10
+38,13
@@
sub handle_file {
}
close FILE;
}
close FILE;
- my $outfile = ".$infile.toc";
+ my $outfile = "$infile.toc";
+ $outfile =~ s|\./||g;
$outfile =~ s|\.\./||g;
$outfile =~ s|/|_|g;
$outfile =~ s|\.\./||g;
$outfile =~ s|/|_|g;
- open OUTPUT,"> $outfile";
+ $outfile = ".$outfile";
+ print "Create a TOC for $infile (in $outfile)\n";
+ open OUTPUT,"> ./$outfile";
my($current_level)=-1;
my($entry);
print OUTPUT "<!-- Automatically generated table of contents --!>\n";
my($current_level)=-1;
my($entry);
print OUTPUT "<!-- Automatically generated table of contents --!>\n";
@@
-70,7
+73,8
@@
sub handle_file {
}
print OUTPUT "</div>\n";
print OUTPUT "<!-- End of automatically generated table of contents --!>\n";
}
print OUTPUT "</div>\n";
print OUTPUT "<!-- End of automatically generated table of contents --!>\n";
+ close OUTPUT;
} # sub handle_file
} # sub handle_file
-map { handle_file($_) } @ARGV;
\ No newline at end of file
+map { handle_file($_) } @ARGV;