~mordred/libmemcached/fix-weird-link

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Lee Bieber
  • Date: 2010-01-15 21:59:06 UTC
  • mto: This revision was merged to the branch mainline in revision 754.
  • Revision ID: lbieber@lee-biebers-macbook-pro.local-20100115215906-vaqa6h7g9uu9hnyn
add lcov and lcov-clean target

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
        find ./ | $(GREP) \~$$ | xargs rm -f
55
55
        bzr unknowns
56
56
 
 
57
lcov: lcov-clean check
 
58
        @echo
 
59
        @echo " ------------------------------------------------------"
 
60
        @echo "Make sure ./configure was run with '--enable-coverage'"
 
61
        @echo "------------------------------------------------------"
 
62
        @echo
 
63
        cd libmemcached && lcov --capture --directory . --base-directory .. --output-file lcov.out
 
64
        genhtml -o lcov --function-coverage -t libmemcached libmemcached/lcov.out
 
65
 
 
66
lcov-clean: clean
 
67
        rm -rf lcov */lcov.out 
 
68
        find . -name '*.gcno' | xargs rm -f
 
69
        find . -name '*.gcda' | xargs rm -f
 
70
 
 
71
 
 
72