Print out meta.dot dep tree as part of build.

This commit is contained in:
mcafee%netscape.com 2002-06-01 07:30:35 +00:00
Родитель 14f2d68119
Коммит 35ca629c0b
1 изменённых файлов: 9 добавлений и 1 удалений

Просмотреть файл

@ -40,7 +40,7 @@ my $debug = 1;
sub PrintUsage {
die <<END_USAGE
usage: $0 --modules=mod1,mod2,.. --skip-cvs
usage: $0 --modules=mod1,mod2,.. [--skip-cvs] [--skip-core-cvs]
(Assumes you can check out a new cvs tree here)
END_USAGE
}
@ -201,6 +201,14 @@ sub FindMakefiles {
close METADOT;
# Print out module dependency tree.
print "\nDependency tree:\n";
my $tree_cmd = "mozilla/tools/module-deps/module-graph\.pl --file mozilla/tools/module-deps/meta\.dot --start-module $root_modules --force-order mozilla/tools/module-deps/force_order\.txt --skip-dep-map --skip-list";
print "cmd = $tree_cmd\n";
system("$tree_cmd");
print "\n";
# Figure out the modules list.
my @modules;
my $modules_string = "";