165 lines
3.6 KiB
HTML
165 lines
3.6 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of Dpkg::Build::Types</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>Dpkg::Build::Types</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::Build::Types - track build types
|
|
<A NAME="lbAC"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
|
|
|
|
The Dpkg::Build::Types module is used by various tools to track and decide
|
|
what artifacts need to be built.
|
|
<P>
|
|
|
|
The build types are bit constants that are exported by default. Multiple
|
|
types can be ORed.
|
|
<A NAME="lbAD"> </A>
|
|
<H2>CONSTANTS</H2>
|
|
|
|
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><FONT SIZE="-1">BUILD_DEFAULT</FONT><DD>
|
|
|
|
|
|
This build is the default.
|
|
<DT id="2"><FONT SIZE="-1">BUILD_SOURCE</FONT><DD>
|
|
|
|
|
|
This build includes source artifacts.
|
|
<DT id="3"><FONT SIZE="-1">BUILD_ARCH_DEP</FONT><DD>
|
|
|
|
|
|
This build includes architecture dependent binary artifacts.
|
|
<DT id="4"><FONT SIZE="-1">BUILD_ARCH_INDEP</FONT><DD>
|
|
|
|
|
|
This build includes architecture independent binary artifacts.
|
|
<DT id="5"><FONT SIZE="-1">BUILD_BINARY</FONT><DD>
|
|
|
|
|
|
This build includes binary artifacts.
|
|
<DT id="6"><FONT SIZE="-1">BUILD_FULL</FONT><DD>
|
|
|
|
|
|
This build includes source and binary artifacts.
|
|
</DL>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>FUNCTIONS</H2>
|
|
|
|
|
|
|
|
<DL COMPACT>
|
|
<DT id="7">build_has_any($bits)<DD>
|
|
|
|
|
|
Return a boolean indicating whether the current build type has any of the
|
|
specified <TT>$bits</TT>.
|
|
<DT id="8">build_has_all($bits)<DD>
|
|
|
|
|
|
Return a boolean indicating whether the current build type has all the
|
|
specified <TT>$bits</TT>.
|
|
<DT id="9">build_has_none($bits)<DD>
|
|
|
|
|
|
Return a boolean indicating whether the current build type has none of the
|
|
specified <TT>$bits</TT>.
|
|
<DT id="10">build_is($bits)<DD>
|
|
|
|
|
|
Return a boolean indicating whether the current build type is the specified
|
|
set of <TT>$bits</TT>.
|
|
<DT id="11">set_build_type($build_type, $build_option, %opts)<DD>
|
|
|
|
|
|
|
|
|
|
Set the current build type to <TT>$build_type</TT>, which was specified via the
|
|
<TT>$build_option</TT> command-line option.
|
|
|
|
|
|
<P>
|
|
|
|
|
|
The function will check and abort on incompatible build type assignments,
|
|
this behavior can be disabled by using the boolean option ``nocheck''.
|
|
<DT id="12">set_build_type_from_options($build_types, $build_option, %opts)<DD>
|
|
|
|
|
|
|
|
|
|
Set the current build type from a list of comma-separated build type
|
|
components.
|
|
|
|
|
|
<P>
|
|
|
|
|
|
The function will check and abort on incompatible build type assignments,
|
|
this behavior can be disabled by using the boolean option ``nocheck''.
|
|
<DT id="13">set_build_type_from_targets($build_targets, $build_option, %opts)<DD>
|
|
|
|
|
|
|
|
|
|
Set the current build type from a list of comma-separated build target
|
|
components.
|
|
|
|
|
|
<P>
|
|
|
|
|
|
The function will check and abort on incompatible build type assignments,
|
|
this behavior can be disabled by using the boolean option ``nocheck''.
|
|
<DT id="14"><B>get_build_options_from_type()</B><DD>
|
|
|
|
|
|
Get the current build type as a set of comma-separated string options.
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>CHANGES</H2>
|
|
|
|
|
|
|
|
<A NAME="lbAG"> </A>
|
|
<H3>Version 0.xx</H3>
|
|
|
|
|
|
|
|
This is a private module.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="15"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="16"><A HREF="#lbAC">DESCRIPTION</A><DD>
|
|
<DT id="17"><A HREF="#lbAD">CONSTANTS</A><DD>
|
|
<DT id="18"><A HREF="#lbAE">FUNCTIONS</A><DD>
|
|
<DT id="19"><A HREF="#lbAF">CHANGES</A><DD>
|
|
<DL>
|
|
<DT id="20"><A HREF="#lbAG">Version 0.xx</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>
|