summaryrefslogtreecommitdiff
path: root/Debian/Debhelper/Dh_Buildsystems.pm
diff options
context:
space:
mode:
authorModestas Vainius <modestas@vainius.eu>2009-12-04 00:17:06 +0200
committerModestas Vainius <modestas@vainius.eu>2009-12-04 23:27:58 +0200
commitb02cb29e726ba44da007dff1c68f02a2c921f474 (patch)
tree792adb3df9e48280b69ec6d90acbb7cf6e080ea8 /Debian/Debhelper/Dh_Buildsystems.pm
parent3a6520173bbb2eb4c4212d3ce180b846423d5535 (diff)
Add --parallel option.
This patch adds --parallel option that enables parallel builds and does not impose limits on maximum concurrent processes. --max-parallel (that implies --parallel) can be used to specify that maximum limit. Also make necessary adjustments to debhelper.pod and buildsystem_tests for this option.
Diffstat (limited to 'Debian/Debhelper/Dh_Buildsystems.pm')
-rw-r--r--Debian/Debhelper/Dh_Buildsystems.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Debian/Debhelper/Dh_Buildsystems.pm b/Debian/Debhelper/Dh_Buildsystems.pm
index d50c517..0f34a2e 100644
--- a/Debian/Debhelper/Dh_Buildsystems.pm
+++ b/Debian/Debhelper/Dh_Buildsystems.pm
@@ -152,6 +152,7 @@ sub buildsystems_init {
"l" => \$opt_list,
"list" => \$opt_list,
+ "parallel" => sub { $max_parallel = -1 },
"max-parallel=i" => \$max_parallel,
);
$args{options}{$_} = $options{$_} foreach keys(%options);