[debhelper-devel] [debhelper] 04/04: dh_missing: Process all sourcedirs by default
Niels Thykier
nthykier at moszumanska.debian.org
Wed Jul 19 20:46:30 UTC 2017
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch easier-multi-builds
in repository debhelper.
commit 59509b7d0408047f757e8ada0d3e9b9c8263b702
Author: Niels Thykier <niels at thykier.net>
Date: Wed Jul 19 20:45:42 2017 +0000
dh_missing: Process all sourcedirs by default
Signed-off-by: Niels Thykier <niels at thykier.net>
---
dh_missing | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/dh_missing b/dh_missing
index b65b0da..7d6195e 100755
--- a/dh_missing
+++ b/dh_missing
@@ -102,8 +102,12 @@ if (not defined($dh{SOURCEDIR}) and scalar(getpackages()) == 1) {
}
push(@source_dirs, $srcdir);
} else {
- exit 0 if not -d 'debian/tmp';
- push(@source_dirs, 'debian/tmp');
+ my %seen;
+ for my $package (@{$dh{DOPACKAGES}}) {
+ my $srcdir = default_sourcedir($package);
+ next if $seen{$srcdir}++;
+ push(@source_dirs, $srcdir) if -d $srcdir;
+ }
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git
More information about the debhelper-devel
mailing list