Dpkg::BuildTree(3perl)

Dpkg::BuildTree3perl

Handle build tree actions

Overview

The Dpkg::BuildTree module provides functions to handle build tree actions.

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

Methods

$bt = Dpkg::BuildTree->new(%opts)

Create a new Dpkg::BuildTree object.

Options:

dir

The build tree directory. If not specified, it assumes the current working directory.

$bt->clean()

Clean the build tree, by removing any dpkg generated artifacts.

$bool = $bt->needs_root()

Check whether the build tree needs root to build.

Changes

Version 0.xx

This is a private module.

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

From dpkg 1.23.11-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.