.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "MK-BUILD-DEPS 1" .TH MK-BUILD-DEPS 1 "2021-08-18" "Debian Utilities" " " .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" mk\-build\-deps \- build a package satisfying a package's build\-dependencies .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fBmk-build-deps\fR \fB\-\-help\fR|\fB\-\-version\fR .PP \&\fBmk-build-deps\fR [\fIoptions\fR] \fIcontrol file\fR | \fIpackage name\fR ... .SH "DESCRIPTION" .IX Header "DESCRIPTION" Given a \fIpackage name\fR and/or \fIcontrol file\fR, \fBmk-build-deps\fR will use \fBequivs\fR to generate a binary package which may be installed to satisfy all the build dependencies of the given package. .PP If \fB\-\-build\-dep\fR and/or \fB\-\-build\-indep\fR are given, then the resulting binary package(s) will depend solely on the Build\-Depends/Build\-Depends\-Indep dependencies, respectively. .SH "OPTIONS" .IX Header "OPTIONS" .IP "\fB\-i\fR, \fB\-\-install\fR" 4 .IX Item "-i, --install" Install the generated packages and its build-dependencies. .IP "\fB\-t\fR, \fB\-\-tool\fR" 4 .IX Item "-t, --tool" When installing the generated package use the specified tool. (default: \fBapt-get \-o Debug::pkgProblemResolver=yes \-\-no\-install\-recommends\fR) .IP "\fB\-r\fR, \fB\-\-remove\fR" 4 .IX Item "-r, --remove" Remove the package file after installing it. Ignored if used without the \fB\-\-install\fR switch. .IP "\fB\-a\fR \fIfoo\fR, \fB\-\-arch\fR \fIfoo\fR" 4 .IX Item "-a foo, --arch foo" Set the architecture of the produced binary package to \fIfoo\fR. If this option is not given, fall back to the value given by \fB\-\-host\-arch\fR. If neither this option nor \fB\-\-host\-arch\fR are given but the Build-Depends contain architecture restrictions, use the value printed by `dpkg\-architecture \-qDEB_HOST_ARCH`. Otherwise, use \fIall\fR. .Sp The package architecture must be equal to the host architecture except if the package architecture is \fIall\fR. .Sp The package architecture cannot be \fIall\fR if the build and host architecture differ. .IP "\fB\-\-host\-arch\fR \fIfoo\fR" 4 .IX Item "--host-arch foo" Set the host architecture the binary package is built for. This defaults to the value printed by `dpkg\-architecture \-qDEB_HOST_ARCH`. Use this option to create a binary package that is able to satisfy crossbuild dependencies. .Sp If this option is used together with \fB\-\-arch\fR, then they must be equal except if the value of \fB\-\-arch\fR is \fIall\fR. .Sp If \fB\-\-arch\fR is not given, then this option also sets the package architecture. .IP "\fB\-\-build\-arch\fR \fIfoo\fR" 4 .IX Item "--build-arch foo" Set the build architecture the binary package is built for. This defaults to the value printed by `dpkg\-architecture \-qDEB_BUILD_ARCH`. Use this option to create a binary package that is able to satisfy crossbuild dependencies. .IP "\fB\-B\fR, \fB\-\-build\-dep\fR" 4 .IX Item "-B, --build-dep" Generate a package which only depends on the source package's Build-Depends dependencies. .IP "\fB\-A\fR, \fB\-\-build\-indep\fR" 4 .IX Item "-A, --build-indep" Generate a package which only depends on the source package's Build-Depends-Indep dependencies. .IP "\fB\-P\fR, \fB\-\-build\-profiles\fR \fIprofile[,...]\fR" 4 .IX Item "-P, --build-profiles profile[,...]" Generate a package which only depends on build dependencies with the build profile(s), given as a comma-separated list. The default behavior is to use no specific profile. Setting this option will override the \fB\s-1DEB_BUILD_PROFILES\s0\fR environment variable. .IP "\fB\-h\fR, \fB\-\-help\fR" 4 .IX Item "-h, --help" Show a summary of options. .IP "\fB\-v\fR, \fB\-\-version\fR" 4 .IX Item "-v, --version" Show version and copyright information. .IP "\fB\-s\fR, \fB\-\-root\-cmd\fR" 4 .IX Item "-s, --root-cmd" Use the specified tool to gain root privileges before installing. Ignored if used without the \fB\-\-install\fR switch. .SH "ENVIRONMENT" .IX Header "ENVIRONMENT" .SS "External environment" .IX Subsection "External environment" .IP "\fB\s-1DEB_BUILD_PROFILES\s0\fR" 4 .IX Item "DEB_BUILD_PROFILES" If set, it will be used as the active build profile(s) for the build dependencies to be installed. It is a space separated list of profile names. Overridden by the \fB\-P\fR option. .SH "AUTHOR" .IX Header "AUTHOR" \&\fBmk-build-deps\fR is copyright by Vincent Fourmond and was modified for the devscripts package by Adam D. Barratt . .PP This program comes with \s-1ABSOLUTELY NO WARRANTY.\s0 You are free to redistribute this code under the terms of the \s-1GNU\s0 General Public License, version 2 or later.