diff options
| author | Niels Thykier <niels@thykier.net> | 2017-07-16 13:36:55 +0000 |
|---|---|---|
| committer | Niels Thykier <niels@thykier.net> | 2017-07-22 18:52:08 +0000 |
| commit | 2edbf91edc01ffb067111eda44b56fb60cbbb359 (patch) | |
| tree | 94425d57681dac379adc4380743451c7daef9012 /dh_install | |
| parent | 60e1f08257c7361bf4730769f37de34141355148 (diff) | |
| download | debhelper-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-x | dh_install | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |
