From 9a867d7d344bc3c59a3326123f7323655c311d6c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 29 Jun 2009 22:22:21 -0400 Subject: remove enforce_out_of_source_building It was only used by the test suite, and while symetrical I don't feel that justifies keeping dead code. --- Debian/Debhelper/Buildsystem.pm | 9 --------- 1 file changed, 9 deletions(-) (limited to 'Debian/Debhelper/Buildsystem.pm') diff --git a/Debian/Debhelper/Buildsystem.pm b/Debian/Debhelper/Buildsystem.pm index 209f0705..9730928d 100644 --- a/Debian/Debhelper/Buildsystem.pm +++ b/Debian/Debhelper/Buildsystem.pm @@ -147,15 +147,6 @@ sub prefer_out_of_source_building { } } -# Derived class can call this method in its constructor to *enforce* -# out of source building even if the user didn't request it. -# Build directory is set to DEFAULT_BUILD_DIRECTORY or building -# fails if it is not possible to set it -sub enforce_out_of_source_building { - my $this=shift; - $this->prefer_out_of_source_building(); -} - # Enhanced version of File::Spec::canonpath. It collapses .. # too so it may return invalid path if symlinks are involved. # On the other hand, it does not need for the path to exist. -- cgit v1.2.3