"sourcedir=s" => \$options{SOURCEDIR},
"destdir=s" => \$options{DESTDIR},
+
+ "filename=s" => \$options{FILENAME},
"number=i" => \$options{PRIORITY}, # deprecated
"priority=i" => \$options{PRIORITY},
+debhelper (2.1.18) unstable; urgency=low
+
+ * dh_builddeb: added a --filename option to specify the output filename.
+ This is intended to be used when building .udebs for the debian
+ installer.
+
+ -- Joey Hess <joeyh@debian.org> Sat, 28 Oct 2000 11:41:20 -0700
+
debhelper (2.1.17) unstable; urgency=low
* dh_movefiles.1: well I thought it was quite obvious why it always used
$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}});
}
dh_builddeb \- build debian packages
.SH SYNOPSIS
.B dh_builddeb
-.I "[debhelper options] [--destdir=directory] [-uparams] [-- params]"
+.I "[debhelper options] [--destdir=directory] [--name=filename] [-uparams] [-- params]"
.SH "DESCRIPTION"
dh_builddeb simply calls
.BR dpkg (8)
Use this if you want the generated .deb files to be put in a directory other
than the default of ".."
.TP
+.B --name=filename
+Use this if you want to force the generated .deb file to have a particular
+file name. Does not work well if more than one .deb is generated!
+.TP
.B \-uparams
.TP
.B \-\- params
-Pass "params" to
+Pass "params" to
.BR dpkg-deb (1)
when it is used to build the package.
.SH ENVIRONMENT
dh_movefiles will ever use this)
--destdir DESTDIR will be set to a string (probably only
dh_builddeb will ever use this)
+--filename FILENAME will be set to a string
--flavor FLAVOR will be set to a string (probably only
dh_installemacsen will ever use this)
--number PRIORITY will be set to a number (deprecated)