summaryrefslogtreecommitdiff
path: root/Debian/Debhelper/Buildsystem.pm
diff options
context:
space:
mode:
authorModestas Vainius <modestas@vainius.eu>2009-06-08 12:58:16 +0300
committerModestas Vainius <modestas@vainius.eu>2009-06-08 12:58:16 +0300
commit48f1d3414f3eb11bca9fd5abd0140232a872c999 (patch)
tree34bc9977efaa4f7bafb4efd313352c7a1073f387 /Debian/Debhelper/Buildsystem.pm
parent59c01ce2d0a90b116bb0ea5ffbdcc939b49fbbf8 (diff)
Use the term "build step" instead of "build action" everywhere in the source.
I'm going to use this new term in documentation. I have never liked "action" in this context, just couldn't think of anything better.
Diffstat (limited to 'Debian/Debhelper/Buildsystem.pm')
-rw-r--r--Debian/Debhelper/Buildsystem.pm28
1 files changed, 14 insertions, 14 deletions
diff --git a/Debian/Debhelper/Buildsystem.pm b/Debian/Debhelper/Buildsystem.pm
index 5bebfe2..d546d20 100644
--- a/Debian/Debhelper/Buildsystem.pm
+++ b/Debian/Debhelper/Buildsystem.pm
@@ -45,7 +45,7 @@ sub DEFAULT_BUILD_DIRECTORY {
# - builddir - specifies build directory to use. If not specified,
# in-source build will be performed. If undef or empty,
# DEFAULT_BUILD_DIRECTORY will be used.
-# - build_action - set this parameter to the name of the build action
+# - build_step - set this parameter to the name of the build step
# if you want the object to determine its is_buidable
# status automatically (with check_auto_buildable()).
# Do not pass this parameter if is_buildable flag should
@@ -66,9 +66,9 @@ sub new {
$this->{builddir} = $this->DEFAULT_BUILD_DIRECTORY();
}
}
- if (exists $opts{build_action}) {
- if (defined $opts{build_action}) {
- $this->{is_buildable} = $this->check_auto_buildable($opts{build_action});
+ if (exists $opts{build_step}) {
+ if (defined $opts{build_step}) {
+ $this->{is_buildable} = $this->check_auto_buildable($opts{build_step});
}
else {
$this->{is_buildable} = 0;
@@ -84,7 +84,7 @@ sub is_buildable {
}
# This instance method is called to check if the build system is capable
-# to auto build a source package. Additional argument $action describes
+# to auto build a source package. Additional argument $step describes
# which operation the caller is going to perform (either configure,
# build, test, install or clean). You must override this method for the
# build system module to be ever picked up automatically. This method is
@@ -95,7 +95,7 @@ sub is_buildable {
# path to the files in the build directory.
sub check_auto_buildable {
my $this=shift;
- my ($action) = @_;
+ my ($step) = @_;
return 0;
}
@@ -208,20 +208,20 @@ sub clean_builddir {
}
-# Instance method that is called before performing any action (see below).
+# Instance method that is called before performing any step (see below).
# Action name is passed as an argument. Derived classes overriding this
# method should also call SUPER implementation of it.
-sub pre_action {
+sub pre_step {
my $this=shift;
- my ($action)=@_;
+ my ($step)=@_;
}
-# Instance method that is called after performing any action (see below).
+# Instance method that is called after performing any step (see below).
# Action name is passed as an argument. Derived classes overriding this
# method should also call SUPER implementation of it.
-sub post_action {
+sub post_step {
my $this=shift;
- my ($action)=@_;
+ my ($step)=@_;
}
# The instance methods below provide support for configuring,
@@ -229,8 +229,8 @@ sub post_action {
# In case of failure, the method may just error() out.
#
# These methods should be overriden by derived classes to
-# implement buildsystem specific actions needed to build the
-# source. Arbitary number of custom action arguments might be
+# implement buildsystem specific steps needed to build the
+# source. Arbitary number of custom step arguments might be
# passed. Default implementations do nothing.
sub configure {
my $this=shift;