From fb55603c56612e70d28efa5996f63ad00a3eeb2a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 1 Mar 2010 16:05:49 -0500 Subject: If neither -a or -i are specified, debhelper commands used to default to acting on all packages in the control file, which was a guaranteed failure if the control file listed packages that did not build for the target architecture. After recent optimisations, this default behavior can efficiently be changed to the more sane default of acting on only packages that can be built for the current architecture. This change is mostly useful when using minimal rules files with dh. Closes: #572077 --- doc/PROGRAMMING | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc/PROGRAMMING') diff --git a/doc/PROGRAMMING b/doc/PROGRAMMING index ca76b9c9..b6d3d16e 100644 --- a/doc/PROGRAMMING +++ b/doc/PROGRAMMING @@ -235,7 +235,9 @@ getpackages($type) Returns a list of packages in the control file. Pass "arch" or "indep" to specify arch-dependent or -independent. If nothing is specified, returns all - packages. + packages (including packages that are not built + for this architecture). Pass "both" to get the union + of "arch" and "indep" packages. As a side effect, populates %package_arches and %package_types with the types of all packages (not only those returned). inhibit_log() -- cgit v1.2.3