summaryrefslogtreecommitdiff
path: root/Debian
diff options
context:
space:
mode:
Diffstat (limited to 'Debian')
-rw-r--r--Debian/Debhelper/Buildsystem.pm18
1 files changed, 9 insertions, 9 deletions
diff --git a/Debian/Debhelper/Buildsystem.pm b/Debian/Debhelper/Buildsystem.pm
index 78d14e70..5bebfe2e 100644
--- a/Debian/Debhelper/Buildsystem.pm
+++ b/Debian/Debhelper/Buildsystem.pm
@@ -32,7 +32,7 @@ sub NAME {
# Description of the build system to be shown to the users.
sub DESCRIPTION {
- "basic debhelper build system class (please provide description)";
+ error("class lacking a DESCRIPTION");
}
# Default build directory. Can be overriden in the derived
@@ -160,14 +160,6 @@ sub get_rel2builddir_path {
return $path;
}
-sub _cd {
- my ($this, $dir)=@_;
- if (! $dh{NO_ACT}) {
- verbose_print("cd $dir");
- chdir $dir or error("error: unable to chdir to $dir");
- }
-}
-
# Creates a build directory.
sub mkdir_builddir {
my $this=shift;
@@ -176,6 +168,14 @@ sub mkdir_builddir {
}
}
+sub _cd {
+ my ($this, $dir)=@_;
+ if (! $dh{NO_ACT}) {
+ verbose_print("cd $dir");
+ chdir $dir or error("error: unable to chdir to $dir");
+ }
+}
+
# Changes working directory the build directory (if needed), calls doit(@_)
# and changes working directory back to the source directory.
sub doit_in_builddir {