summaryrefslogtreecommitdiff
path: root/dh_builddeb
diff options
context:
space:
mode:
authorjoey <joey>2002-05-19 03:06:41 +0000
committerjoey <joey>2002-05-19 03:06:41 +0000
commit6acd7f22222118dc5f51c251bd0078edbe280e87 (patch)
tree141f8d946118eb548ad6e19b6a62dd63bf398763 /dh_builddeb
parent822faec6d81321d23b3e75c018f0308fd006d1b2 (diff)
r522: * Set DH_ALWAYS_EXCLUDE=CVS and debhelper will exclude CVS directories
from processing by any command that takes a -X option, and dh_builddeb will also go in and rm -rf any that still sneak into the build tree. * dh_install: A patch from Eric Dorland <eric@debian.org> adds support for --sourcedir, which allows debian/package.files files to be moved over to debian/package.install, and just work. Closes: #146847 * dh_movefiles: don't do file tests in no-act mode. Closes: #144573 * dh_installdebconf: pass --drop-old-templates to debconf-mergetemplate. Means debhelper has to depend on debconf-utils 1.1.1.
Diffstat (limited to 'dh_builddeb')
-rwxr-xr-xdh_builddeb3
1 files changed, 3 insertions, 0 deletions
diff --git a/dh_builddeb b/dh_builddeb
index d259b01..07029c0 100755
--- a/dh_builddeb
+++ b/dh_builddeb
@@ -59,6 +59,9 @@ else {
foreach my $package (@{$dh{DOPACKAGES}}) {
my $tmp=tmpdir($package);
+ if (exists $ENV{DH_ALWAYS_EXCLUDE} && length $ENV{DH_ALWAYS_EXCLUDE}) {
+ complex_doit("find $tmp -name $ENV{DH_ALWAYS_EXCLUDE} | xargs rm -rf");
+ }
doit("dpkg","--build",$tmp,"$dh{DESTDIR}$dh{FILENAME}",@{$dh{U_PARAMS}});
}