-dist:
- tar --exclude-from .ignore -czf dist.tar.gz .
- -mkdir rsync-$(VERSION)
- (cd rsync-$(VERSION) ; tar xzf ../dist.tar.gz)
- tar -czf rsync-$(VERSION).tar.gz rsync-$(VERSION)
- rm -f dist.tar.gz
- echo rsync-$(VERSION) >> .cvsignore
+
+# 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 */*.o |grep 'U ' | awk '{print $$2}' | sort -u > nmused.txt
+ nm *.o */*.o |grep 'T ' | awk '{print $$3}' | sort -u > nmfns.txt
+ comm -13 nmused.txt nmfns.txt