diff options
author | Modestas Vainius <modestas@vainius.eu> | 2009-06-29 19:11:42 +0300 |
---|---|---|
committer | Modestas Vainius <modestas@vainius.eu> | 2009-06-30 00:53:06 +0300 |
commit | c8ad61cdba0348c1d1ea1000b99ba83496b71bf1 (patch) | |
tree | 1de475a34079073a11f7f94d6012007477a39e73 /Debian/Debhelper/Buildsystem/cmake.pm | |
parent | afabee81e04c52cae5cbf55b8ba4566659505e9b (diff) |
Rename enforce_out_of_source_building() to prefer_
Also add enforce_out_of_source_building() for clarity which does not
take any parameters. Now both have a clear name and no confusing
parameter combinations.
Signed-off-by: Modestas Vainius <modestas@vainius.eu>
Diffstat (limited to 'Debian/Debhelper/Buildsystem/cmake.pm')
-rw-r--r-- | Debian/Debhelper/Buildsystem/cmake.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Debian/Debhelper/Buildsystem/cmake.pm b/Debian/Debhelper/Buildsystem/cmake.pm index fe97f772..16796512 100644 --- a/Debian/Debhelper/Buildsystem/cmake.pm +++ b/Debian/Debhelper/Buildsystem/cmake.pm @@ -24,8 +24,7 @@ sub check_auto_buildable { sub new { my $class=shift; my $this=$class->SUPER::new(@_); - # Prefer out of source tree building. - $this->enforce_out_of_source_building(@_); + $this->prefer_out_of_source_building(@_); return $this; } |