From: Modestas Vainius Date: Thu, 11 Jun 2009 00:23:51 +0000 (+0300) Subject: Rename {pre,post}_step to {pre,post}_building_step. X-Git-Tag: 7.3.0~64 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=26631f8cd7c72f5e546d3ccff7d24224fb44961f;p=debhelper.git Rename {pre,post}_step to {pre,post}_building_step. Signed-off-by: Modestas Vainius --- diff --git a/Debian/Debhelper/Buildsystem.pm b/Debian/Debhelper/Buildsystem.pm index c16217f..85a1401 100644 --- a/Debian/Debhelper/Buildsystem.pm +++ b/Debian/Debhelper/Buildsystem.pm @@ -323,7 +323,7 @@ sub rmdir_builddir { # 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_step { +sub pre_building_step { my $this=shift; my ($step)=@_; } @@ -331,7 +331,7 @@ sub pre_step { # 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_step { +sub post_building_step { my $this=shift; my ($step)=@_; } diff --git a/Debian/Debhelper/Dh_Buildsystems.pm b/Debian/Debhelper/Dh_Buildsystems.pm index 179d633..eade500 100644 --- a/Debian/Debhelper/Dh_Buildsystems.pm +++ b/Debian/Debhelper/Dh_Buildsystems.pm @@ -172,9 +172,9 @@ sub buildsystems_do { my $buildsystem = load_buildsystem($step, $opt_buildsys); if (defined $buildsystem) { - $buildsystem->pre_step($step); + $buildsystem->pre_building_step($step); $buildsystem->$step(@_, @{$dh{U_PARAMS}}); - $buildsystem->post_step($step); + $buildsystem->post_building_step($step); } return 0; }