diff options
| author | Marcus Brinkmann <marcus@gnu.org> | 2001-10-12 23:25:24 +0000 |
|---|---|---|
| committer | Marcus Brinkmann <marcus@gnu.org> | 2001-10-12 23:25:24 +0000 |
| commit | 4f3ae4d4b20260a83afba7ae4de74bdaff57caf7 (patch) | |
| tree | 55815ff9ee062faee7bf96254041f95468203ec7 /debian/rules | |
| parent | 2b2c8259c75d5a0650a8af1ced47474c4ff9e180 (diff) | |
2001-10-13 Marcus Brinkmann <marcus@gnu.org>
* debian/rules: New dpkg-shlibdeps is more strict and complains
about statically linked files, so a new filter is necessary.
* debian/control: Add `file' to build dependencies.
By Kevin Kreamer <kkreamer@etherhogz.org>.
* debian/changelog: Update for new release.
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules index 06fa19e5..c5dea47f 100755 --- a/debian/rules +++ b/debian/rules @@ -183,11 +183,15 @@ binary-arch: build $(install_script) debian/postinst debian/tmp/DEBIAN/postinst $(install_script) debian/prerm debian/tmp/DEBIAN/prerm - # Filter out scripts. - dpkg-shlibdeps -p$(package) `for f in debian/tmp/bin/* \ - debian/tmp/libexec/* debian/tmp/hurd/* \ - debian/tmp/sbin/* ; do head -n1 $$f \ - | sed -n -e '/^#!/!a\'$$'\n'$$f ; done` + # Get list of dynamically linked executables + dpkg-shlibdeps -p$(package) \ + `file debian/tmp/bin/* \ + debian/tmp/hurd/* \ + debian/tmp/lib/* \ + debian/tmp/libexec/* \ + debian/tmp/sbin/* \ + | egrep '(executable.*dynamic)|(shared object)' \ + | cut -f 1 -d ':'` dpkg-gencontrol -isp -p$(package) -Pdebian/tmp chown -R root.root debian/tmp dpkg --build debian/tmp .. |
