blob: 795d9a0adc518080f437636348166d5cee6624c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/usr/bin/perl -w
#
# Build the .deb package, assuming all the files are set up.
use strict;
use Debian::Debhelper::Dh_Lib;
init();
# Set the default destination directory.
if (! defined $dh{DESTDIR}) {
$dh{DESTDIR}='..';
}
if (! defined $dh{FILENAME}) {
$dh{FILENAME}='';
}
else {
$dh{FILENAME}="/$dh{FILENAME}";
}
foreach my $package (@{$dh{DOPACKAGES}}) {
my $tmp=tmpdir($package);
doit("dpkg","--build",$tmp,"$dh{DESTDIR}$dh{FILENAME}",@{$dh{U_PARAMS}});
}
|