X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=Makefile.am;h=99687ed6e7a84dd2cf387e63f19496fb643592e8;hb=fe5b4854b046a8b0613c89303b04d7e60e4c8223;hp=09db5e9445f931a76bad70f497a04fcdc2875d2b;hpb=7c986323bd4eece0d805f4df17eb03ea094f84f6;p=m6w6%2Flibmemcached diff --git a/Makefile.am b/Makefile.am index 09db5e94..99687ed6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,22 +4,25 @@ ACLOCAL_AMFLAGS = -I m4 SUFFIXES = PHONY = TESTS = -CLEANFILES = +CLEANFILES = bin_PROGRAMS = noinst_HEADERS = lib_LTLIBRARIES = noinst_LTLIBRARIES = noinst_PROGRAMS = -pkginclude_HEADERS = -nobase_pkginclude_HEADERS = +include_HEADERS = +nobase_include_HEADERS = EXTRA_HEADERS = BUILT_SOURCES= EXTRA_DIST = README.FIRST -SUBDIRS = docs libhashkit +SUBDIRS = docs +test-docs: + (cd docs && $(MAKE) test-docs) include libmemcached/include.am include clients/include.am +include libhashkit/include.am include tests/include.am include example/include.am include support/include.am @@ -51,3 +54,19 @@ merge-clean: find ./ | $(GREP) \~$$ | xargs rm -f bzr unknowns +lcov: lcov-clean check + @echo + @echo " ------------------------------------------------------" + @echo "Make sure ./configure was run with '--enable-coverage'" + @echo "------------------------------------------------------" + @echo + cd libmemcached && lcov --capture --directory . --base-directory .. --output-file lcov.out + genhtml -o lcov --function-coverage -t libmemcached libmemcached/lcov.out + +lcov-clean: clean + rm -rf lcov */lcov.out + find . -name '*.gcno' | xargs rm -f + find . -name '*.gcda' | xargs rm -f + + +