#!/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}}); }