1Dpkg::BuildProfiles(3perl) libdpkg-perl Dpkg::BuildProfiles(3perl)
2
3
4
6 Dpkg::BuildProfiles - handle build profiles
7
9 The Dpkg::BuildProfiles module provides functions to handle the build
10 profiles.
11
13 @profiles = get_build_profiles()
14 Get an array with the currently active build profiles, taken from
15 the environment variable DEB_BUILD_PROFILES.
16
17 set_build_profiles(@profiles)
18 Set @profiles as the current active build profiles, by setting the
19 environment variable DEB_BUILD_PROFILES.
20
21 @profiles = parse_build_profiles($string)
22 Parses a build profiles specification, into an array of array
23 references.
24
25 evaluate_restriction_formula(\@formula, \@profiles)
26 Evaluate whether a restriction formula of the form "<foo bar>
27 <baz>", given as a nested array, is true or false, given the array
28 of enabled build profiles.
29
31 Version 1.00 (dpkg 1.17.17)
32 Mark the module as public.
33
34
35
361.20.9 2021-05-10 Dpkg::BuildProfiles(3perl)