summaryrefslogtreecommitdiff
path: root/dh_installdeb
diff options
context:
space:
mode:
Diffstat (limited to 'dh_installdeb')
-rwxr-xr-xdh_installdeb8
1 files changed, 7 insertions, 1 deletions
diff --git a/dh_installdeb b/dh_installdeb
index 26c2b0c5..569b0a45 100755
--- a/dh_installdeb
+++ b/dh_installdeb
@@ -42,6 +42,9 @@ shell script snippets generated by other debhelper commands.
These control files are installed into the F<DEBIAN> directory.
+Note that I<package>.shlibs is only installed in compat level 9 and
+earlier. In compat 10, please use L<dh_makeshlibs(1)>.
+
=item I<package>.conffiles
This control file will be installed into the F<DEBIAN> directory.
@@ -117,7 +120,10 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
}
# Install non-executable files
- foreach my $file (qw{shlibs conffiles triggers}) {
+ my @non_exec_files = (qw{conffiles triggers});
+ # In compat 10, we let dh_makeshlibs handle "shlibs".
+ push(@non_exec_files, 'shlibs') if compat(9);
+ foreach my $file (@non_exec_files) {
my $f=pkgfile($package,$file);
if ($f) {
install_file($f, "$tmp/DEBIAN/$file");