]> git.donarmstrong.com Git - debhelper.git/blob - dh_builddeb
r296: * dh_builddeb: -u can be passed to this command now, followed by
[debhelper.git] / dh_builddeb
1 #!/usr/bin/perl -w
2 #
3 # Build the .deb package, assuming all the files are set up.
4
5 BEGIN { push @INC, "debian", "/usr/share/debhelper" }
6 use Dh_Lib;
7 init();
8
9 # Set the default destination directory.
10 if (! defined $dh{DESTDIR}) {
11         $dh{DESTDIR}='..';
12 }
13
14 foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
15         $TMP=tmpdir($PACKAGE);
16         doit("dpkg","--build",$TMP,$dh{DESTDIR},@{$dh{U_PARAMS}});
17 }