diff options
author | Joey Hess <joey@kitenet.net> | 2013-05-09 10:42:24 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-05-09 10:42:24 -0400 |
commit | 7a0f4f35ba52befd343589f06abe5ff1b68dfcf2 (patch) | |
tree | b36264fb0178e6a6a0080868fc2d08ea9ed26e99 /dh_auto_install | |
parent | 136f0c7517ce5bffbbebec5bf710fc810510f3bd (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-x | dh_auto_install | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dh_auto_install b/dh_auto_install index d513f2e2..ef46a3c5 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 |