diff options
Diffstat (limited to 'man')
-rw-r--r-- | man/deb-src-control.5 | 14 | ||||
-rw-r--r-- | man/dpkg-buildpackage.1 | 14 | ||||
-rw-r--r-- | man/dpkg-checkbuilddeps.1 | 15 |
3 files changed, 37 insertions, 6 deletions
diff --git a/man/deb-src-control.5 b/man/deb-src-control.5 index d924985df..9b6d2ddc2 100644 --- a/man/deb-src-control.5 +++ b/man/deb-src-control.5 @@ -17,7 +17,7 @@ .\" You should have received a copy of the GNU General Public License .\" along with this program. If not, see <http://www.gnu.org/licenses/>. . -.TH deb\-src\-control 5 "2013-04-02" "Debian Project" "Debian" +.TH deb\-src\-control 5 "2013-09-17" "Debian Project" "Debian" .SH NAME deb\-src\-control \- Debian source packages' master control file format . @@ -172,8 +172,9 @@ fields is a list of groups of alternative packages. Each group is a list of packages separated by vertical bar (or "pipe") symbols, "|". The groups are separated by commas. Commas are to be read as "AND", and pipes as "OR", with pipes binding more tightly. Each package name is -optionally followed by a version number specification in parentheses and an -architecture specification in square brackets. +optionally followed by a version number specification in parentheses, an +architecture specification in square brackets, and a profile specification +in angle brackets. The syntax of the .BR Build\-Conflicts , @@ -183,7 +184,8 @@ and fields is a list of comma-separated package names, where the comma is read as an "AND". Specifying alternative packages using a "pipe" is not supported. Each package name is optionally followed by a version number specification in -parentheses and an architecture specification in square brackets. +parentheses, an architecture specification in square brackets, and a profile +specification in angle brackets. A version number may start with a ">>", in which case any later version will match, and may specify or omit the Debian packaging revision (separated @@ -195,6 +197,10 @@ A architecture specification consists of one or more architecture names, separated by whitespace. Exclamation marks may be prepended to each of the names, meaning "NOT". +A profile specification consists of one or more profile names, prefixed +with the "\fBprofile.\fP" namespace, separated by whitespace. Exclamation +marks may be prepended to each of the names, meaning "NOT". + Note that dependencies on packages in the .B build\-essential set can be omitted and that declaring build conflicts against them is diff --git a/man/dpkg-buildpackage.1 b/man/dpkg-buildpackage.1 index bd54c1051..c31c5cd7e 100644 --- a/man/dpkg-buildpackage.1 +++ b/man/dpkg-buildpackage.1 @@ -19,7 +19,7 @@ .\" You should have received a copy of the GNU General Public License .\" along with this program. If not, see <http://www.gnu.org/licenses/>. . -.TH dpkg\-buildpackage 1 "2013-08-31" "Debian Project" "dpkg utilities" +.TH dpkg\-buildpackage 1 "2013-09-17" "Debian Project" "dpkg utilities" .SH NAME dpkg\-buildpackage \- build binary or source packages from sources . @@ -131,6 +131,13 @@ Specify the GNU system type we build for. It can be used in place of \-a or as a complement to override the default GNU system type of the target Debian architecture. .TP +.BR \-P \fIprofile\fP[ , ...] +Specify the profile(s) we build, as a comma-separated list, without the +"\fBprofile.\fP" namespace prefix. The default behavior is to build for +no specific profile. Also adds them (as a space separated list) to the +\fBDEB_BUILD_PROFILES\fP environment variable which allows, for example, +\fBdebian/rules\fP files to use this information for conditional builds. +.TP .BI \-j jobs Number of jobs allowed to be run simultaneously, equivalent to the .BR make (1) @@ -247,6 +254,11 @@ Show the version and exit. .B DEB_SIGN_KEYID If set, it will be used to sign the \fB.changes\fP and \fB.dsc\fP files. Overridden by the \fB\-k\fP option. +.TP +.B DEB_BUILD_PROFILES +If set, it will be used as the active build profile(s) for the package +being built. It is a space separated list of profile names, without the +"\fBprofile.\fP" namespace prefix. Overridden by the \fB\-P\fP option. .SS Reliance on exported environment flags Even if \fBdpkg\-buildpackage\fP exports some variables, \fBdebian/rules\fP diff --git a/man/dpkg-checkbuilddeps.1 b/man/dpkg-checkbuilddeps.1 index 41862d697..6b41acce5 100644 --- a/man/dpkg-checkbuilddeps.1 +++ b/man/dpkg-checkbuilddeps.1 @@ -17,7 +17,7 @@ .\" You should have received a copy of the GNU General Public License .\" along with this program. If not, see <http://www.gnu.org/licenses/>. . -.TH dpkg\-checkbuilddeps 1 "2012-05-22" "Debian Project" "dpkg utilities" +.TH dpkg\-checkbuilddeps 1 "2013-09-17" "Debian Project" "dpkg utilities" .SH NAME dpkg\-checkbuilddeps \- check build dependencies and conflicts . @@ -61,8 +61,21 @@ Check build dependencies/conflicts assuming that the package described in the control file is to be built for the given host architecture instead of the architecture of the current system. .TP +.BR "\-P " \fIprofile\fP[ , ...] +Check build dependencies/conflicts assuming that the package described +in the control file is to be built for the given build profile(s). The +argument is a comma-separated list of profile names, without the +"\fBprofile.\fP" namespace prefix. +.TP .BR \-? ", " \-\-help Show the usage message and exit. .TP .BR \-\-version Show the version and exit. +. +.SH ENVIRONMENT +.TP +.B DEB_BUILD_PROFILES +If set, it will be used as the active build profile(s) for the package +being built. It is a space separated list of profile names, without the +"\fBprofile.\fP" namespace prefix. Overridden by the \fB\-P\fP option. |