]> git.donarmstrong.com Git - debhelper.git/commitdiff
dh_auto_install: Rather than looking at the number of binary packages being acted... 7.0.13
authorJoey Hess <joey@kodama.kitenet.net>
Wed, 25 Jun 2008 16:28:28 +0000 (12:28 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Wed, 25 Jun 2008 16:28:28 +0000 (12:28 -0400)
debian/changelog
dh_auto_install

index a6c21e27d43d31add7bc36eefb3a5466a587eeea..00d33565eb17f27f0547cd2b208a24e37c4f75c1 100644 (file)
@@ -1,3 +1,14 @@
+debhelper (7.0.13) unstable; urgency=low
+
+  * dh_auto_install: Rather than looking at the number of binary packages
+    being acted on, look at the total number of binary packages in the
+    source package when deciding whether to install to debian/package or
+    debian/tmp. This avoids inconsistencies when building mixed arch all+any
+    packages using the binary-indep and binary-arch targets.
+    Closes: #487938
+
+ -- Joey Hess <joeyh@debian.org>  Wed, 25 Jun 2008 12:27:02 -0400
+
 debhelper (7.0.12) unstable; urgency=medium
 
   * Correct docs about dh_install and debian/tmp in v7 mode. It first looks in
index 78fba17046f17cefafba8fd5007fc181234ad1f4..2c8c7f6b5ae20e6f9db5f00cf6fe204482c10a65 100755 (executable)
@@ -22,8 +22,8 @@ then this is done by running make (or MAKE, if the environment variable is
 set). If there is a setup.py or Build.PL, it is used.
 
 The files are installed into debian/<package>/ if there is only one binary
-package to act on. In the multiple binary package case, the files are
-instead installed into debian/tmp/, and should be moved from there to the
+package. In the multiple binary package case, the files are instead
+installed into debian/tmp/, and should be moved from there to the
 appropriate package build directory using L<dh_install(1)> or
 L<dh_movefiles(1)>.
 
@@ -51,7 +51,8 @@ or override the any standard parameters that dh_auto_clean passes.
 init();
 
 my $destdir;
-if (@{$dh{DOPACKAGES}} > 1) {
+my @allpackages=getpackages();
+if (@allpackages > 1) {
        $destdir="debian/tmp";
 }
 else {