Scroll to navigation

Dpkg::Build::Types(3) libdpkg-perl Dpkg::Build::Types(3)

NAME

Dpkg::Build::Types - track build types

DESCRIPTION

The Dpkg::Build::Types module is used by various tools to track and decide what artifacts need to be built.

The build types are bit constants that are exported by default. Multiple types can be ORed.

CONSTANTS

This build is the default.
This build includes source artifacts.
This build includes architecture dependent binary artifacts.
This build includes architecture independent binary artifacts.
This build includes binary artifacts.
This build includes source and binary artifacts.

FUNCTIONS

Return a boolean indicating whether the current build type has any of the specified $bits.
Return a boolean indicating whether the current build type has all the specified $bits.
Return a boolean indicating whether the current build type has none of the specified $bits.
Return a boolean indicating whether the current build type is the specified set of $bits.
Set the current build type to $build_type, which was specified via the $build_option command-line option.

The function will check and abort on incompatible build type assignments, this behavior can be disabled by using the boolean option "nocheck".

Set the current build type from a list of build type components.

The function will check and abort on incompatible build type assignments, this behavior can be disabled by using the boolean option "nocheck".

Get the current build type as a set of comma-separated string options.

CHANGES

Version 0.xx

This is a private module.

2017-05-17 1.18.24