summaryrefslogtreecommitdiff
path: root/dh_install
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2017-07-16 13:36:55 +0000
committerNiels Thykier <niels@thykier.net>2017-07-22 18:52:08 +0000
commit2edbf91edc01ffb067111eda44b56fb60cbbb359 (patch)
tree94425d57681dac379adc4380743451c7daef9012 /dh_install
parent60e1f08257c7361bf4730769f37de34141355148 (diff)
downloaddebhelper-2edbf91edc01ffb067111eda44b56fb60cbbb359.tar.gz
Dh_Lib: Add stub default_sourcedir function
This function does not do anything particularly useful at the moment, but we hope to make it do that in the future. By including it now, other tools can migrate to it easier if/when it becomes useful. Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_install')
-rwxr-xr-xdh_install5
1 files changed, 2 insertions, 3 deletions
diff --git a/dh_install b/dh_install
index b5a32484..656b9217 100755
--- a/dh_install
+++ b/dh_install
@@ -154,13 +154,12 @@ if ($dh{EXCLUDE_FIND}) {
$exclude = '! \( '.$dh{EXCLUDE_FIND}.' \)';
}
-my @search_dirs = ($srcdir);
-push(@search_dirs, 'debian/tmp') if not compat(6);
-
# PROMISE: DH NOOP WITHOUT pkgfile-logged(install)
foreach my $package (getpackages()) {
my (@installed, %dest2sources);
+ my @search_dirs = ($srcdir);
+ push(@search_dirs, default_sourcedir($package)) if not compat(6);
# Look at the install files for all packages to handle
# list-missing/fail-missing, but skip really installing for