2006-01-12 Roland McGrath <roland@redhat.com>

* debian/rules (binary-arch): Don't pass -s to install.  Use dh_strip.
	Fixes Debian#325132.
This commit is contained in:
Roland McGrath 2006-01-12 11:03:44 +00:00
parent 97a932bc72
commit 0662b590ab

8
debian/rules vendored
View File

@ -66,12 +66,13 @@ binary-arch: $(extra_build_targets) build checkroot
# Install strace
install -d -o root -g root -m 755 debian/tmp/usr/bin
install -s -o root -g root -m 755 build/strace debian/tmp/usr/bin/strace
install -o root -g root -m 755 build/strace debian/tmp/usr/bin/strace
dh_strip
dpkg-gencontrol -is -pstrace-udeb -fdebian/files~
dpkg-deb --build debian/tmp ../$(UDEB)
dpkg-distaddfile $(UDEB) debian-installer extra
# Install documentation
install -d -o root -g root -m 755 debian/tmp/usr/share/doc/$(package)
install -d -o root -g root -m 755 debian/tmp/usr/share/man/man1
@ -88,8 +89,9 @@ binary-arch: $(extra_build_targets) build checkroot
gzip -9 debian/tmp/usr/share/man/man1/strace.1
ifeq ($(build64),yes)
install -s -o root -g root -m 755 build64/strace debian/tmp/usr/bin/strace64
install -o root -g root -m 755 build64/strace debian/tmp/usr/bin/strace64
ln -s strace.1.gz debian/tmp/usr/share/man/man1/strace64.1.gz
dh_strip
endif
dpkg-shlibdeps build/strace $(patsubst yes,build64/strace,$(build64))