summaryrefslogtreecommitdiff
path: root/dh_auto_install
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2013-05-09 10:42:24 -0400
committerJoey Hess <joey@kitenet.net>2013-05-09 10:42:24 -0400
commit7a0f4f35ba52befd343589f06abe5ff1b68dfcf2 (patch)
treeb36264fb0178e6a6a0080868fc2d08ea9ed26e99 /dh_auto_install
parent136f0c7517ce5bffbbebec5bf710fc810510f3bd (diff)
dh_auto_install: Create package build directory for those packages whose makefile falls over otherwise. Closes: #707336
Diffstat (limited to 'dh_auto_install')
-rwxr-xr-xdh_auto_install7
1 files changed, 7 insertions, 0 deletions
diff --git a/dh_auto_install b/dh_auto_install
index d513f2e..ef46a3c 100755
--- a/dh_auto_install
+++ b/dh_auto_install
@@ -80,6 +80,13 @@ if (!$destdir) {
}
$destdir = File::Spec->rel2abs($destdir, cwd());
+foreach my $package (@{$dh{DOPACKAGES}}) {
+ my $tmp=tmpdir($package);
+ if (! -e $tmp) {
+ doit("install","-d",$tmp);
+ }
+}
+
buildsystems_do("install", $destdir);
=head1 SEE ALSO