summaryrefslogtreecommitdiff
path: root/Debian/Debhelper/Buildsystem
diff options
context:
space:
mode:
authorModestas Vainius <modestas@vainius.eu>2009-06-18 00:56:57 +0300
committerModestas Vainius <modestas@vainius.eu>2009-06-18 00:56:57 +0300
commitd6c1c26e558a849f9d696558fbed74ea539023b0 (patch)
treeb189567948ba234d98bd7eff27efb027bfb17254 /Debian/Debhelper/Buildsystem
parent95f0a0968c30a6737c3f321f305985b3fd33a63e (diff)
Less code in the build system classes to call enforce_out_of_source_building().
Signed-off-by: Modestas Vainius <modestas@vainius.eu>
Diffstat (limited to 'Debian/Debhelper/Buildsystem')
-rw-r--r--Debian/Debhelper/Buildsystem/cmake.pm3
-rw-r--r--Debian/Debhelper/Buildsystem/python_distutils.pm3
2 files changed, 2 insertions, 4 deletions
diff --git a/Debian/Debhelper/Buildsystem/cmake.pm b/Debian/Debhelper/Buildsystem/cmake.pm
index c2a3769..1ccab10 100644
--- a/Debian/Debhelper/Buildsystem/cmake.pm
+++ b/Debian/Debhelper/Buildsystem/cmake.pm
@@ -24,9 +24,8 @@ sub check_auto_buildable {
sub new {
my $class=shift;
my $this=$class->SUPER::new(@_);
- my %args=@_;
# Prefer out of source tree building.
- $this->enforce_out_of_source_building($args{builddir});
+ $this->enforce_out_of_source_building(@_);
return $this;
}
diff --git a/Debian/Debhelper/Buildsystem/python_distutils.pm b/Debian/Debhelper/Buildsystem/python_distutils.pm
index d05e381..ad4ea87 100644
--- a/Debian/Debhelper/Buildsystem/python_distutils.pm
+++ b/Debian/Debhelper/Buildsystem/python_distutils.pm
@@ -24,9 +24,8 @@ sub DEFAULT_BUILD_DIRECTORY {
sub new {
my $class=shift;
my $this=$class->SUPER::new(@_);
- my %args=@_;
# Out of source tree building is prefered.
- $this->enforce_out_of_source_building($args{builddir});
+ $this->enforce_out_of_source_building(@_);
return $this;
}