From: Andrew Bartlett Date: Sun, 3 Jun 2012 01:13:29 +0000 (+1000) Subject: s3-build: Remove finddead X-Git-Tag: samba-4.0.0beta1~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4143a935e5abbb897f38f159fd0330c09b58bdda;p=thirdparty%2Fsamba.git s3-build: Remove finddead This won't work with the new tree structure, and we have the same output at https://build.samba.org/lcov/data/coverage/samba_4_0_test/unused-fns.txt Using the callcatcher framework. Andrew Bartlett --- diff --git a/source3/Makefile.in b/source3/Makefile.in index 2405ec77487..093123c2b9c 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -3253,15 +3253,6 @@ realdistclean:: distclean -rm -f include/version.h -rm -f configure -# this target is really just for my use. It only works on a limited -# range of machines and is used to produce a list of potentially -# dead (ie. unused) functions in the code. (tridge) -finddead:: - nm */*.o |grep 'U ' | awk '{print $$2}' | sort -u > nmused.txt - nm */*.o |grep 'T ' | awk '{print $$3}' | sort -u > nmfns.txt - comm -13 nmused.txt nmfns.txt - - # when configure.in is updated, reconfigure $(srcdir)/configure: $(srcdir)/configure.in @echo "WARNING: you need to rerun ./autogen.sh"