diff options
author | joey <joey> | 2000-10-28 18:44:02 +0000 |
---|---|---|
committer | joey <joey> | 2000-10-28 18:44:02 +0000 |
commit | e832acd1f52e8aa5e23aee08ad047704780b182a (patch) | |
tree | 383a5106e6b59d08101d8e247805c12e86c9f21f /dh_builddeb | |
parent | 4c98da4fc74be80721e50f808b7a0b9a327feb64 (diff) | |
download | debhelper-e832acd1f52e8aa5e23aee08ad047704780b182a.tar.gz |
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-x | dh_builddeb | 6 |
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}}); } |