summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorWichert Akkerman <wakkerma@debian.org>2001-09-20 15:08:50 +0000
committerWichert Akkerman <wakkerma@debian.org>2001-09-20 15:08:50 +0000
commit46c634d50b98cb8a265113f768236035b4a861b8 (patch)
treeea697654279d53182a1d195445a40c1f130113b2 /debian/rules
parentb0108cdfab40c8226a6f8be397d0c3c08515e398 (diff)
downloaddpkg-46c634d50b98cb8a265113f768236035b4a861b8.tar.gz
Strip enoent as well
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 1eed8c7dc..128fcbc12 100755
--- a/debian/rules
+++ b/debian/rules
@@ -123,7 +123,8 @@ binary-dpkg-most binary-dpkg-static-most: binary-dpkg%-most: stamp-binary%
# Policy stuff
find $(TMP_DPKG)/usr/share/man -type f | xargs gzip -9f
strip --remove-section=.comment --remove-section=.note \
- --strip-unneeded $(TMP_DPKG)/usr/bin/* $(TMP_DPKG)/sbin/*
+ --strip-unneeded $(TMP_DPKG)/usr/bin/* $(TMP_DPKG)/sbin/* \
+ $(TMP_DPKG)/usr/lib/dpkg/enoent
mv $(TMP_DPKG)/usr/share/doc/dpkg$(static)/ChangeLog \
$(TMP_DPKG)/usr/share/doc/dpkg$(static)/changelog