From: Manoj Srivastava Michael Alan Dorman Richard Braakman Philip Hands Manoj Srivastava
@@ -853,6 +872,18 @@ information in it to standard output.
+ ++ This program can be used manually, but is also invoked by + dpkg-buildpackage or debian/rules to set + to set environment or make variables which specify the build and + host architecture for the package building process. +
++ The architecture we build on and build for is determined by make + variables via dpkg-architecture (see ). You can + get the Debian architecture and the GNU style architecture + specification string for the build machine as well as the host + machine. Here is a list of supported make variables: +
+ +DEB_*_ARCH (the Debian architecture)
+DEB_*_GNU_TYPE (the GNU style architecture + specification string)
+DEB_*_GNU_CPU (the CPU part of DEB_*_GNU_TYPE)
+DEB_*_GNU_SYSTEM (the System part of + DEB_*_GNU_TYPE)
++ where * is either BUILD for specification of + the build machine or HOST for specification of the machine + we build for. +
+ ++ Backward compatibility can be provided in the rules file + by setting the needed variables to suitable default + values, please refer to the documentation of + dpkg-architecture for details. +
+ ++ It is important to understand that the DEB_*_ARCH + string does only determine which Debian architecture we + build on resp. for. It should not be used to get the CPU + or System information, the GNU style variables should be + used for that. +
This is the architecture string; it is a single word for - the CPU architecture. + the Debian architecture.
@@ -1943,30 +2019,9 @@
- The current build architecture can be determined using dpkg
- --print-architecture.
-
- This actually invokes
-
- There is a separate option,
- --print-installation-architecture, for finding
- out what architecture
- It is possible supply scripts as part of a package which
+ It is possible to supply scripts as part of a package which
@@ -3765,7 +3820,7 @@
@@ -3840,7 +3895,7 @@
Provides control file field of another package.
The effect is as if the package(s) which provide a
particular virtual package name had been listed by name
- everywhere were the virtual package name appears.
+ everywhere the virtual package name appears.
@@ -3886,7 +3941,7 @@
If you want to specify which of a set of real packages should be the
default to satisfy a particular dependency on a virtual package, you
- should list the real package as alternative before the virtual.
+ should list the real package as an alternative before the virtual.
Secondly, Replaces allows
If neither the user nor the package maintainer has changed
the file, it is left alone. If one or the other has changed
- their version, then the changed version is preferred - ie,
+ their version, then the changed version is preferred - i.e.,
if the user edits their file, but the package maintainer
doesn't ship a different version, the user's changes will
stay, silently, but if the maintainer ships a new version