Dpkg::BuildDriver::DebianRules(3perl)

NAME
Dpkg::BuildDriver::DebianRules - build a Debian package using debian/rules

DESCRIPTION
This class is used by dpkg-buildpackage to drive the build of a Debian package, using debian/rules.

Note: This is a private module, its API can change at any time.

METHODS

$bd = Dpkg::BuildDriver::DebianRules->new(%opts)
    Create a new Dpkg::BuildDriver::DebianRules object.

    Supports or requires the same Dpkg::BuildDriver->new() options.

$bd->pre_check()
    Perform build driver specific checks, before anything else.

    This checks whether the debian/rules file is executable, and if not then make it so.

$bool = $bd->need_build_task($build_task, $binary_task)
    Returns whether we need to use the build task.

    Note: This method is needed as long as we support building as root-like. Once that is not needed this method will be deprecated.

$bd->run_build_task($build_task, $binary_task)
    Executes the build task for the build.

    Note: This method is needed as long as we support building as root-like. Once that is not needed this method will be deprecated.

$bd->run_task($task)
    Executes the given task for the build.

CHANGES

  Version 0.xx
This is a private module.