3 # Build the .deb package, assuming all the files are set up.
5 use Debian::Debhelper::Dh_Lib;
8 # Set the default destination directory.
9 if (! defined $dh{DESTDIR}) {
13 if (! defined $dh{FILENAME}) {
17 $dh{FILENAME}="/$dh{FILENAME}";
20 foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
21 $TMP=tmpdir($PACKAGE);
22 doit("dpkg","--build",$TMP,"$dh{DESTDIR}$dh{FILENAME}",@{$dh{U_PARAMS}});