diff options
author | Guillem Jover <guillem@debian.org> | 2006-01-23 04:50:40 +0000 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2006-01-23 04:50:40 +0000 |
commit | 25fa6e040f425eafa8839399921fb4e2d72faa13 (patch) | |
tree | 5d33331d5c988adc5d0cc9d48392ee48b342f8a2 /man/C | |
parent | 6decabb17a07ecca4f003919bdc92ed4194d3217 (diff) | |
download | dpkg-25fa6e040f425eafa8839399921fb4e2d72faa13.tar.gz |
Add support for architecture wildcards, but for now they will only be
exposed in debian/control files, not in binary nor source packages.
Closes: #291939
Diffstat (limited to 'man/C')
-rw-r--r-- | man/C/dpkg-architecture.1 | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/man/C/dpkg-architecture.1 b/man/C/dpkg-architecture.1 index 9b2e0b625..12688a85f 100644 --- a/man/C/dpkg-architecture.1 +++ b/man/C/dpkg-architecture.1 @@ -1,4 +1,4 @@ -.TH DPKG-ARCHITECTURE 1 "2005-01-10" "Debian GNU/Linux" +.TH DPKG-ARCHITECTURE 1 "2006-01-23" "Debian GNU/Linux" .SH "NAME" dpkg\-architecture \- set and determine the architecture for package building .SH "SYNOPSIS" @@ -11,8 +11,8 @@ Valid options: \&\fB\-f\fR .PP Valid actions: -\&\fB\-l\fR, \fB\-q\fRVariable\-Name, \fB\-s\fR, \fB\-u\fR, \fB\-c\fR Command, -\fB\-L\fR +\&\fB\-l\fR, \fB\-e\fRDebian\-Architecture, \fB\-i\fRArchitecture\-Alias, +\fB\-q\fRVariable\-Name, \fB\-s\fR, \fB\-u\fR, \fB\-c\fR Command, \fB\-L\fR .SH "DESCRIPTION" .IX Header "DESCRIPTION" dpkg-architecture does provide a facility to determine and set the build and @@ -30,8 +30,12 @@ Indeed, it is often better to only specify one, because dpkg-architecture will warn you if your choice doesn't match the default. .PP The default action is \fB\-l\fR, which prints the environment variables, one each line, -in the format VARIABLE=value. If you are only interested in the value of a -single variable, you can use \fB\-q\fR. If you specify \fB\-s\fR, it will output an export +in the format VARIABLE=value. If you want to check for equality between two +Debian Architectures, you can use \fB\-e\fR, by default it will compare against +the currect Debian Architecture, being it the host. If you want to check for +identity of the current Debian Architecture against an Architecture Alias, you +can use \fB\-i\fR. If you are only interested in the value of a single variable, +you can use \fB\-q\fR. If you specify \fB\-s\fR, it will output an export command. This can be used to set the environment variables using eval. \fB\-u\fR does return a similar command to unset all variables. \fB\-c\fR does execute a command in an environment which has all variables set to the determined @@ -55,6 +59,11 @@ The machine the package is built for. .IX Item "Debian Architecture" The Debian architecture string, which specifies the binary tree in the \s-1FTP\s0 archive. Examples: i386, sparc, hurd\-i386. +.IP "Architecture Alias" 4 +.IX Item "Architecture Alias" +An architecture alias is a wildcard architecture that will match any real +architecture being part of it. The general form is <kernel>\-<cpu>. +Examples: linux\-any, linux\-alpha, any\-i386, hurd\-any. .IP "\s-1GNU\s0 System Type" 4 .IX Item "GNU System Type" An architecture specification string consisting of two parts, |