Package: valgrind Version: 1:3.2.0-2 Severity: wishlist
/tmp/bug -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (990, 'testing'), (650, 'stable'), (550, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-2-686-smp Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages valgrind depends on: ii libc6 2.3.6-15 GNU C Library: Shared libraries Versions of packages valgrind recommends: ii gdb 6.4.90.dfsg-1 The GNU Debugger -- no debconf information
--- debian/rules 2006-07-10 12:03:56.000000000 -0500 +++ debian/rules 2006-07-10 13:22:38.059037701 -0500 @@ -80,6 +80,9 @@ chown root.root $(target)/usr/bin/valgrind.bin $(target)/usr/bin/valgrind chmod 755 $(target)/usr/bin/valgrind.bin $(target)/usr/bin/valgrind + # Make wrappers for tools + $(MAKE) -f debian/wrappers.make target=$(target) + # This stuff comes from us $(install_file) debian.supp $(target)/usr/lib/valgrind --- /dev/null 2006-06-05 10:51:07.585650000 -0500 +++ debian/wrappers.make 2006-07-10 13:30:46.413810884 -0500 @@ -0,0 +1,21 @@ + +TOOLS = cachegrind callgrind helgrind lackey massif memcheck + +all: wrappers man + +wrappers: $(TOOLS:%=$(target)/usr/bin/%) + +man: $(TOOLS:%=$(target)/usr/share/man/man1/%.1) + +$(target)/usr/share/man/man1/%: + echo ".so man1/valgrind.1" > $@ + chown root.root $@ + chmod 644 $@ + +$(target)/usr/bin/%: + echo "#!/bin/sh" > $@ + echo "exec /usr/bin/valgrind --tool=$* \"[EMAIL PROTECTED]"" >> $@ + chown root.root $@ + chmod 755 $@ + +.PHONEY: wrappers man all