1Dpkg::Build::Types(3)            libdpkg-perl            Dpkg::Build::Types(3)
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_type, $build_option, %opts)
60           Set the current build type from a list of build type components.
61
62           The function will check and abort on incompatible build type
63           assignments, this behavior can be disabled by using the boolean
64           option "nocheck".
65
66       get_build_options_from_type()
67           Get the current build type as a set of comma-separated string
68           options.
69

CHANGES

71   Version 0.xx
72       This is a private module.
73
74
75
761.18.25                           2018-06-17             Dpkg::Build::Types(3)
Impressum