diff options
author | joey <joey> | 2002-07-19 00:58:01 +0000 |
---|---|---|
committer | joey <joey> | 2002-07-19 00:58:01 +0000 |
commit | 699d0e5c2bd5bcd52a1833a802281ca66d7ae111 (patch) | |
tree | 32e4bf6134ab9281fd07d5f2cb9dff7d910327da /dh_shlibdeps | |
parent | 620d5c492f5bfd918f3d88a8270b5e4565a41635 (diff) |
r538: * Make dh_installchangelogs install debian/NEWS files as well, as
NEWS.Debian. Make dh_compress always compress them. The idea is to make
these files be in a machine parsable form, like the debian changelog, but
only put newsworthy info into them. Automated tools can then display new
news on upgrade. It is hoped that if this catches on it will reduce the
abuse of debconf notes. See discussion on debian-devel for details.
Diffstat (limited to 'dh_shlibdeps')
-rwxr-xr-x | dh_shlibdeps | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dh_shlibdeps b/dh_shlibdeps index b3648e51..5001d75f 100755 --- a/dh_shlibdeps +++ b/dh_shlibdeps @@ -89,7 +89,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) { $find_options="! \\( $dh{EXCLUDE_FIND} \\)"; } foreach my $file (split(/\n/,`find $tmp -type f \\( -perm +111 -or -name "*.so*" \\) $find_options`)) { - # TODO: this is slow, optimize. Ie, file can run once on multiple files.. + # TODO this is slow, optimize. Ie, file can run once on + # multiple files.. $ff=`file "$file"`; if ($ff=~m/ELF/ && $ff!~/statically linked/) { push @filelist,$file; @@ -97,7 +98,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) { } if (@filelist) { - doit("dpkg-shlibdeps","-Tdebian/${ext}substvars",@{$dh{U_PARAMS}},'-dDepends',@filelist); + doit("dpkg-shlibdeps","-Tdebian/${ext}substvars", + @{$dh{U_PARAMS}},@filelist); } } |