# 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
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;
}
}
+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 {