summaryrefslogtreecommitdiff
path: root/dh_builddeb
diff options
context:
space:
mode:
Diffstat (limited to 'dh_builddeb')
-rwxr-xr-xdh_builddeb6
1 files changed, 5 insertions, 1 deletions
diff --git a/dh_builddeb b/dh_builddeb
index 1082dd29..15f4e397 100755
--- a/dh_builddeb
+++ b/dh_builddeb
@@ -10,7 +10,11 @@ if (! defined $dh{DESTDIR}) {
$dh{DESTDIR}='..';
}
+if (! defined $dh{FILENAME}) {
+ $dh{FILENAME}='';
+}
+
foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
$TMP=tmpdir($PACKAGE);
- doit("dpkg","--build",$TMP,$dh{DESTDIR},@{$dh{U_PARAMS}});
+ doit("dpkg","--build",$TMP,"$dh{DESTDIR}/$dh{FILENAME}",@{$dh{U_PARAMS}});
}