Dpkg::Build...DebianRules(3perl)
πΈ NAME πΈ
Bestie, this is Dpkg::BuildDriver::DebianRules β build a Debian package using debian/rules π
.
Itβs the Dpkg::Build...DebianRules(3perl) page from libdpkg-perl, and yes, the title is giving very long Perl module energy π«Ά.
π¦ DESCRIPTION π¦
Okay so this class is used by dpkg-buildpackage to drive the build of a Debian package, using debian/rules β¨.
π¨ Note: this is a private module, so its API can change at any time. Not me being dramatic, thatβs literally the rule π.
π METHODS π
$bd = Dpkg::BuildDriver::DebianRules->new(%opts)β creates a newDpkg::BuildDriver::DebianRulesobject, slay π. It supports or requires the sameDpkg::BuildDriver->new()options.$bd->pre_check()β performs build-driver-specific checks, before anything else. This checks whether thedebian/rulesfile is executable, and if not, then makes 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. π
π Sign-off cuteness: this page comes from libdpkg-perl, version 1.23.11-dirty, dated 2026-09-09, and the manual name is Dpkg::Build...DebianRules(3perl). Bye bestie, go build something iconic π¦β¨.
π¦ where this page comes from
- arch rolling: dpkg 1.23.11-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms