From 6acd7f22222118dc5f51c251bd0078edbe280e87 Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 19 May 2002 03:06:41 +0000 Subject: 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 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. --- dh_builddeb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dh_builddeb') diff --git a/dh_builddeb b/dh_builddeb index d259b016..07029c07 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}}); } -- cgit v1.2.3