summaryrefslogtreecommitdiff
path: root/dh_builddeb
diff options
context:
space:
mode:
authorjoey <joey>2000-10-28 18:44:02 +0000
committerjoey <joey>2000-10-28 18:44:02 +0000
commite832acd1f52e8aa5e23aee08ad047704780b182a (patch)
tree383a5106e6b59d08101d8e247805c12e86c9f21f /dh_builddeb
parent4c98da4fc74be80721e50f808b7a0b9a327feb64 (diff)
r380: * dh_builddeb: added a --filename option to specify the output filename.
This is intended to be used when building .udebs for the debian installer.
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}});
}