86 lines
2.0 KiB
HTML
86 lines
2.0 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of Dpkg::BuildProfiles</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>Dpkg::BuildProfiles</H1>
|
|
Section: libdpkg-perl (3perl)<BR>Updated: 2020-03-23<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
Dpkg::BuildProfiles - handle build profiles
|
|
<A NAME="lbAC"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
|
|
|
|
The Dpkg::BuildProfiles module provides functions to handle the build
|
|
profiles.
|
|
<A NAME="lbAD"> </A>
|
|
<H2>FUNCTIONS</H2>
|
|
|
|
|
|
|
|
<DL COMPACT>
|
|
<DT id="1">@profiles = <B>get_build_profiles()</B><DD>
|
|
|
|
|
|
|
|
|
|
Get an array with the currently active build profiles, taken from
|
|
the environment variable <B></B><FONT SIZE="-1"><B>DEB_BUILD_PROFILES</B></FONT><B></B>.
|
|
<DT id="2">set_build_profiles(@profiles)<DD>
|
|
|
|
|
|
Set <TT>@profiles</TT> as the current active build profiles, by setting
|
|
the environment variable <B></B><FONT SIZE="-1"><B>DEB_BUILD_PROFILES</B></FONT><B></B>.
|
|
<DT id="3">@profiles = parse_build_profiles($string)<DD>
|
|
|
|
|
|
|
|
|
|
Parses a build profiles specification, into an array of array references.
|
|
<DT id="4">evaluate_restriction_formula(\@formula, \@profiles)<DD>
|
|
|
|
|
|
Evaluate whether a restriction formula of the form ``<foo bar> <baz>'', given as
|
|
a nested array, is true or false, given the array of enabled build profiles.
|
|
</DL>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>CHANGES</H2>
|
|
|
|
|
|
|
|
<A NAME="lbAF"> </A>
|
|
<H3>Version 1.00 (dpkg 1.17.17)</H3>
|
|
|
|
|
|
|
|
Mark the module as public.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="5"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="6"><A HREF="#lbAC">DESCRIPTION</A><DD>
|
|
<DT id="7"><A HREF="#lbAD">FUNCTIONS</A><DD>
|
|
<DT id="8"><A HREF="#lbAE">CHANGES</A><DD>
|
|
<DL>
|
|
<DT id="9"><A HREF="#lbAF">Version 1.00 (dpkg 1.17.17)</A><DD>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:38 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|