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 new Dpkg::BuildDriver::DebianRules object, slay πŸŽ€. It supports or requires the same Dpkg::BuildDriver->new() options.
  • $bd->pre_check() β€” performs build-driver-specific checks, before anything else. This checks whether the debian/rules file 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