The following commit has been merged in the master branch:
commit aa9fc50cf59341bfddb13e80c24b8e86885ab093
Author: Guillem Jover <[email protected]>
Date: Thu Mar 28 20:02:31 2013 +0100
man: Fold BACKWARD COMPATIBILITY section into other sections
diff --git a/debian/changelog b/debian/changelog
index dcff564..a58adc1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,7 @@ dpkg (1.17.0) UNRELEASED; urgency=low
- Place ENVIRONMENT and FILES sections contiguously.
- Move EXIT STATUS section before ENVIRONMENT.
- Rename CAVEATS sections to NOTES.
+ - Fold BACKWARD COMPATIBILITY section into other sections.
* Use colon instead of dot for user:group in dpkg debug output.
* Remove support for obsolete DM-Upload-Allowed from Dpkg::Vendor::Debian.
* Fix update-alternatives to use the current alternative link as the first
diff --git a/man/dpkg-architecture.1 b/man/dpkg-architecture.1
index 6049496..b9a7eac 100644
--- a/man/dpkg-architecture.1
+++ b/man/dpkg-architecture.1
@@ -2,7 +2,7 @@
.\"
.\" Copyright © 2005 Marcus Brinkmann <[email protected]>
.\" Copyright © 2005 Scott James Remnant <[email protected]>
-.\" Copyright © 2006-2011 Guillem Jover <[email protected]>
+.\" Copyright © 2006-2013 Guillem Jover <[email protected]>
.\" Copyright © 2009-2012 Raphaël Hertzog <[email protected]>
.\"
.\" This is free software; you can redistribute it and/or modify
@@ -18,7 +18,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\-architecture 1 "2012-01-20" "Debian Project" "dpkg utilities"
+.TH dpkg\-architecture 1 "2013-03-28" "Debian Project" "dpkg utilities"
.SH NAME
dpkg\-architecture \- set and determine the architecture for package building
.
@@ -50,16 +50,17 @@ Print the environment variables, one each line, in the
format
\fIVARIABLE=value\fP. This is the default action.
.TP
.BI \-e debian-architecture
-Check for equality of architecture. By default \fIdebian-architecture\fP
-is compared against the current Debian architecture, being the host.
-This action will not expand the architecture wildcards. Command finishes
-with an exit status of 0 if matched, 1 if not matched.
+Check for equality of architecture (since dpkg 1.13.13). By default
+\fIdebian-architecture\fP is compared against the current Debian architecture,
+being the host. This action will not expand the architecture wildcards.
+Command finishes with an exit status of 0 if matched, 1 if not matched.
+
.TP
.BI \-i architecture-wildcard
Check for identity of architecture by expanding \fIarchitecture-wildcard\fP
as an architecture wildcard and comparing against the current Debian
-architecture. Command finishes with an exit status of 0 if matched, 1 if
-not matched.
+architecture (since dpkg 1.13.13).
+Command finishes with an exit status of 0 if matched, 1 if not matched.
.TP
.BI \-q variable-name
Print the value of a single variable.
@@ -121,13 +122,13 @@ The following variables are set by
\fBdpkg\-architecture\fP:
.IP "\s-1DEB_BUILD_ARCH\s0" 4
The Debian architecture of the build machine.
.IP "\s-1DEB_BUILD_ARCH_OS\s0" 4
-The Debian system name of the build machine.
+The Debian system name of the build machine (since dpkg 1.13.2).
.IP "\s-1DEB_BUILD_ARCH_CPU\s0" 4
-The Debian cpu name of the build machine.
+The Debian cpu name of the build machine (since dpkg 1.13.2).
.IP "\s-1DEB_BUILD_ARCH_BITS\s0" 4
-The pointer size of the build machine (in bits).
+The pointer size of the build machine (in bits; since dpkg 1.15.4).
.IP "\s-1DEB_BUILD_ARCH_ENDIAN\s0" 4
-The endianness of the build machine (little / big).
+The endianness of the build machine (little / big; since dpkg 1.15.4).
.IP "\s-1DEB_BUILD_GNU_CPU\s0" 4
The \s-1CPU\s0 part of \s-1DEB_BUILD_GNU_TYPE\s0.
.IP "\s-1DEB_BUILD_GNU_SYSTEM\s0" 4
@@ -140,13 +141,13 @@ paths.
.IP "\s-1DEB_HOST_ARCH\s0" 4
The Debian architecture of the host machine.
.IP "\s-1DEB_HOST_ARCH_OS\s0" 4
-The Debian system name of the host machine.
+The Debian system name of the host machine (since dpkg 1.13.2).
.IP "\s-1DEB_HOST_ARCH_CPU\s0" 4
-The Debian cpu name of the host machine.
+The Debian cpu name of the host machine (since dpkg 1.13.2).
.IP "\s-1DEB_HOST_ARCH_BITS\s0" 4
-The pointer size of the host machine (in bits).
+The pointer size of the host machine (in bits; since dpkg 1.15.4).
.IP "\s-1DEB_HOST_ARCH_ENDIAN\s0" 4
-The endianness of the host machine (little / big).
+The endianness of the host machine (little / big; since dpkg 1.15.4).
.IP "\s-1DEB_HOST_GNU_CPU\s0" 4
The \s-1CPU\s0 part of \s-1DEB_HOST_GNU_TYPE\s0.
.IP "\s-1DEB_HOST_GNU_SYSTEM\s0" 4
@@ -158,6 +159,7 @@ The clarified \s-1GNU\s0 system type of the host machine,
used for filesystem
paths.
.
.SH FILES
+.SS Architecture tables
All these files have to be present for \fBdpkg\-architecture\fP to
work. Their location can be overridden at runtime with the environment
variable \fBDPKG_DATADIR\fP.
@@ -171,6 +173,11 @@ Table of known operating system names and mapping to their
GNU name.
.I /usr/share/dpkg/triplettable
Mapping between Debian architecture triplets and Debian architecture
names.
+.SS Packaging support
+.TP
+.I /usr/share/dpkg/architecture.mk
+Makefile snippet that properly sets and exports all the variables that
+\fBdpkg\-architecture\fP outputs (since dpkg 1.16.1).
.
.SH DEBIAN/RULES
The environment variables set by \fBdpkg\-architecture\fP are passed to
@@ -219,20 +226,6 @@ endif
In any case, you should never use \fBdpkg \-\-print\-architecture\fP to get
architecture information during a package build.
.
-.SH BACKWARD COMPATIBILITY
-The /usr/share/dpkg/architecture.mk Makefile snippet is provided by
-dpkg\-dev since version 1.16.1.
-.PP
-The DEB_*_ARCH_BITS and DEB_*_ARCH_ENDIAN variables were introduced
-in dpkg\-dev 1.15.4. Using them in \fIdebian/rules\fR thus requires a
-build-dependency on dpkg\-dev (>= 1.15.4).
-.PP
-The DEB_HOST_ARCH_CPU and DEB_HOST_ARCH_OS variables were introduced
-in dpkg\-dev 1.13.2.
-.PP
-The \fB\-e\fP and \fB\-i\fP options were only introduced in relatively recent
-versions of \fBdpkg\-architecture\fR (since dpkg 1.13.13).
-.
.SH EXAMPLES
\fBdpkg\-buildpackage\fP accepts the \fB\-a\fR option and passes it to
\fBdpkg\-architecture\fP. Other examples:
diff --git a/man/dpkg-buildpackage.1 b/man/dpkg-buildpackage.1
index 8938bcb..c9cadee 100644
--- a/man/dpkg-buildpackage.1
+++ b/man/dpkg-buildpackage.1
@@ -265,7 +265,8 @@ exported compiler flags (\fBCFLAGS\fP, \fBCXXFLAGS\fP,
\fBFFLAGS\fP,
\fBCPPFLAGS\fP and \fBLDFLAGS\fP) with values as returned
by \fBdpkg\-buildflags\fP. This is no longer the case.
.
-.SH BACKWARD COMPATIBILITY
+.SH NOTES
+.SS Default build targets
\fBdpkg\-buildpackage\fP is using the \fBbuild\-arch\fP and
\fBbuild\-indep\fP targets since version 1.16.2. Those targets are thus
mandatory. But to avoid breakages of existing packages, and ease
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]