1Dpkg::Build::Types(3perl)        libdpkg-perl        Dpkg::Build::Types(3perl)
2
3
4

NAME

6       Dpkg::Build::Types - track build types
7

DESCRIPTION

9       The Dpkg::Build::Types module is used by various tools to track and
10       decide what artifacts need to be built.
11
12       The build types are bit constants that are exported by default.
13       Multiple types can be ORed.
14

CONSTANTS

16       BUILD_DEFAULT
17           This build is the default.
18
19       BUILD_SOURCE
20           This build includes source artifacts.
21
22       BUILD_ARCH_DEP
23           This build includes architecture dependent binary artifacts.
24
25       BUILD_ARCH_INDEP
26           This build includes architecture independent binary artifacts.
27
28       BUILD_BINARY
29           This build includes binary artifacts.
30
31       BUILD_FULL
32           This build includes source and binary artifacts.
33

FUNCTIONS

35       build_has_any($bits)
36           Return a boolean indicating whether the current build type has any
37           of the specified $bits.
38
39       build_has_all($bits)
40           Return a boolean indicating whether the current build type has all
41           the specified $bits.
42
43       build_has_none($bits)
44           Return a boolean indicating whether the current build type has none
45           of the specified $bits.
46
47       build_is($bits)
48           Return a boolean indicating whether the current build type is the
49           specified set of $bits.
50
51       set_build_type($build_type, $build_option, %opts)
52           Set the current build type to $build_type, which was specified via
53           the $build_option command-line option.
54
55           The function will check and abort on incompatible build type
56           assignments, this behavior can be disabled by using the boolean
57           option "nocheck".
58
59       set_build_type_from_options($build_types, $build_option, %opts)
60           Set the current build type from a list of comma-separated build
61           type components.
62
63           The function will check and abort on incompatible build type
64           assignments, this behavior can be disabled by using the boolean
65           option "nocheck".
66
67       set_build_type_from_targets($build_targets, $build_option, %opts)
68           Set the current build type from a list of comma-separated build
69           target components.
70
71           The function will check and abort on incompatible build type
72           assignments, this behavior can be disabled by using the boolean
73           option "nocheck".
74
75       get_build_options_from_type()
76           Get the current build type as a set of comma-separated string
77           options.
78

CHANGES

80   Version 0.xx
81       This is a private module.
82
83
84
851.20.9                            2021-05-10         Dpkg::Build::Types(3perl)
Impressum