]> git.donarmstrong.com Git - debhelper.git/commitdiff
Use term "out of source" rather than "outside source".
authorModestas Vainius <modestas@vainius.eu>
Mon, 8 Jun 2009 10:07:47 +0000 (13:07 +0300)
committerModestas Vainius <modestas@vainius.eu>
Mon, 8 Jun 2009 10:12:08 +0000 (13:12 +0300)
* "out of source" or "out of source tree" seems to be more popular
  term to describe building in the builddir.
* Avoid using hyphens in both "out of source" and "in source" terms.

Debian/Debhelper/Buildsystem.pm
Debian/Debhelper/Buildsystem/cmake.pm

index d546d20b6f738c6583e07b83ce895536e00f8a7c..718ef733321b4cb07dc7e6716fe236c5f475b890 100644 (file)
@@ -43,7 +43,7 @@ sub DEFAULT_BUILD_DIRECTORY {
 
 # Constructs a new build system object. Named parameters:
 # - builddir -     specifies build directory to use. If not specified,
-#                  in-source build will be performed. If undef or empty,
+#                  in source build will be performed. If undef or empty,
 #                  DEFAULT_BUILD_DIRECTORY will be used.
 # - build_step -   set this parameter to the name of the build step
 #                  if you want the object to determine its is_buidable
@@ -100,22 +100,22 @@ sub check_auto_buildable {
 }
 
 # Derived class can call this method in its constructor
-# to enforce in-source building even if the user requested otherwise.
+# to enforce in source building even if the user requested otherwise.
 sub enforce_in_source_building {
        my $this=shift;
        if ($this->{builddir}) {
                # Do not emit warning unless the object is buildable.
                if ($this->is_buildable()) {
                        warning("warning: " . $this->NAME() .
-                           " does not support building outside-source. In-source build enforced.");
+                           " does not support building out of source tree. In source building enforced.");
                }
                $this->{builddir} = undef;
        }
 }
 
 # Derived class can call this method in its constructor to enforce
-# outside-source building even if the user didn't request it.
-sub enforce_outside_source_building {
+# out of source building even if the user didn't request it.
+sub enforce_out_of_source_building {
        my ($this, $builddir) = @_;
        if (!defined $this->{builddir}) {
                $this->{builddir} = ($builddir && $builddir ne ".") ? $builddir : $this->DEFAULT_BUILD_DIRECTORY();
@@ -193,7 +193,7 @@ sub doit_in_builddir {
        return 1;
 }
 
-# In case of outside-source tree building, whole build directory
+# In case of out of source tree building, whole build directory
 # gets wiped (if it exists) and 1 is returned. Otherwise, nothing
 # is done and 0 is returned.
 sub clean_builddir {
index bb038727bd35fbcc356138c3062475430bc35123..d1fe6899ce435995c3c2e2e2ef5d8bf8ab655597 100644 (file)
@@ -1,5 +1,5 @@
 # A buildsystem plugin for handling CMake based projects.
-# It enforces outside-source building.
+# It enforces out of source tree building.
 #
 # Copyright: © 2008-2009 Modestas Vainius
 # License: GPL-2+
@@ -25,8 +25,8 @@ sub check_auto_buildable {
 sub new {
        my $class=shift;
        my $this=$class->SUPER::new(@_);
-       # Enforce outside-source tree builds.
-       $this->enforce_outside_source_building();
+       # Enforce out of source tree building.
+       $this->enforce_out_of_source_building();
        return $this;
 }