This would be the only place in debhelper where -v enables debugging info
that is not just shell commands being run.
Since --list can be used to see details of build system selection, and
since it will probably be obvious which one is selected in -v mode due to
the commands run, I think this oddity is unnecessary.
my ($action, $system)=@_;
if (defined $system) {
my $inst = create_buildsystem_instance($system);
- verbose_print("Selected buildsystem (specified): ".$inst->NAME());
return $inst;
}
else {
for $system (@BUILDSYSTEMS) {
my $inst = create_buildsystem_instance($system, build_action=>$action);
if ($inst->is_buildable()) {
- verbose_print("Selected buildsystem (auto): ". $inst->NAME());
return $inst;
}
}