Dpkg::Build::Types(3perl)
β¨ NAME β¨
Dpkg::Build::Types β the lil module that keeps track of build types, no cap π
π DESCRIPTION π
Okay bestie, so Dpkg::Build::Types is the module that all the various tools use to track and decide what artifacts actually need to be built. It's giving project manager energy, honestly.
The build types are bit constants that get exported by default (so you don't have to ask for them, they just show up π«Ά). And because they're bits? You can OR multiple types together. Stack 'em. Slay. β¨
π CONSTANTS π
BUILD_DEFAULTβ this build is the default one. The main character, if you will. πBUILD_SOURCEβ this build includes source artifacts. π¦BUILD_ARCH_DEPβ this build includes architecture dependent binary artifacts.BUILD_ARCH_INDEPβ this build includes architecture independent binary artifacts.BUILD_BINARYβ this build includes binary artifacts. β¨BUILD_FULLβ this build includes source and binary artifacts. The whole package. The full fit. π₯
πΈ FUNCTIONS πΈ
build_has_any($bits)β returns a boolean telling you whether the current build type has any of the specified$bits.build_has_all($bits)β returns a boolean telling you whether the current build type has all of the specified$bits.build_has_none($bits)β returns a boolean telling you whether the current build type has none of the specified$bits.build_is($bits)β returns a boolean telling you whether the current build type is the specified set of$bits. Like, exactly. Identical. Twins. πͺset_build_type($build_type, $build_option, %opts)β sets the current build type to$build_type, which was specified via the$build_optioncommand-line option.
Heads up bestie: this function will check and abort on incompatible build type assignments. If you don't want that energy, you can turn the behavior off by using the boolean option "nocheck".
set_build_type_from_options($build_types, $build_option, %opts)β sets the current build type from a list of comma-separated build type components.
Same deal: it will check and abort on incompatible build type assignments, and you can disable that with the boolean option "nocheck".
set_build_type_from_targets($build_targets, $build_option, %opts)β sets the current build type from a list of comma-separated build target components.
Yup, again: it will check and abort on incompatible build type assignments, and the boolean option "nocheck" disables that behavior.
get_build_options_from_type()β gets the current build type as a set of comma-separated string options. Very demure, very mindful. π
π¦ CHANGES π¦
Version 0.xx
This is a private module. Not for public consumption, iykyk. π
Okay that's the whole page, bestie β every option, every constant, every caveat, nothing skipped, periodt. π
This came to you from libdpkg-perl, version 1.21.1, dated 2025-09-09, and it lives under the manual name Dpkg::Build::Types(3perl). Go build something iconic. β¨π«Ά
π¦ where this page comes from
- ubuntu jammy: libdpkg-perl 1.21.1ubuntu2.6 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms