]> git.donarmstrong.com Git - debhelper.git/blob - dh_builddeb
r338: * Patch from Jorgen `forcer' Schaefer <forcer at mindless.com> (much
[debhelper.git] / dh_builddeb
1 #!/usr/bin/perl -w
2 #
3 # Build the .deb package, assuming all the files are set up.
4
5 use Debian::Debhelper::Dh_Lib;
6 init();
7
8 # Set the default destination directory.
9 if (! defined $dh{DESTDIR}) {
10         $dh{DESTDIR}='..';
11 }
12
13 foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
14         $TMP=tmpdir($PACKAGE);
15         doit("dpkg","--build",$TMP,$dh{DESTDIR},@{$dh{U_PARAMS}});
16 }