X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=Makefile.am;h=df606e6171ed2e30e184494bbc53f1d4e578778f;hb=4078121f5428f7e34eafa9c2bf58a5e073ff599b;hp=99687ed6e7a84dd2cf387e63f19496fb643592e8;hpb=a4456cc10079f2e6f648befc91657f2723c825e5;p=m6w6%2Flibmemcached diff --git a/Makefile.am b/Makefile.am index 99687ed6..df606e61 100644 --- a/Makefile.am +++ b/Makefile.am @@ -12,22 +12,43 @@ noinst_LTLIBRARIES = noinst_PROGRAMS = include_HEADERS = nobase_include_HEADERS = +check_PROGRAMS = EXTRA_HEADERS = BUILT_SOURCES= -EXTRA_DIST = README.FIRST +EXTRA_DIST= \ + ${srcdir}/m4/pandora_*.m4 \ + .quickly \ + README.FIRST \ + config/autorun.sh \ + config/pandora-plugin \ + config/uncrustify.cfg \ + m4/ac_cxx_header_stdcxx_98.m4 \ + m4/acx_pthread.m4 \ + m4/gettext.m4 \ + m4/iconv.m4 \ + m4/pkg.m4 \ + m4/po.m4 \ + m4/progtest.m4 +TEST_DOCS= +if BUILD_DOCS SUBDIRS = docs +TEST_DOCS+=test-docs +endif test-docs: (cd docs && $(MAKE) test-docs) include libmemcached/include.am include clients/include.am include libhashkit/include.am +include unittests/include.am include tests/include.am include example/include.am include support/include.am +include poll/include.am +include win32/include.am -check-local: test-no-outputdiff +TESTS += ${check_PROGRAMS} fedora: @@ -49,8 +70,12 @@ generic: rpm: all dist generic fedora merge-clean: + find ./ | $(GREP) \.gcda | xargs rm -f + find ./ | $(GREP) \.gcno | xargs rm -f + find ./ | $(GREP) \.gz | xargs rm -f find ./ | $(GREP) \.orig | xargs rm -f find ./ | $(GREP) \.rej | xargs rm -f + find ./ | $(GREP) \.rpm | xargs rm -f find ./ | $(GREP) \~$$ | xargs rm -f bzr unknowns @@ -64,9 +89,10 @@ lcov: lcov-clean check genhtml -o lcov --function-coverage -t libmemcached libmemcached/lcov.out lcov-clean: clean - rm -rf lcov */lcov.out + rm -rf lcov */lcov.out find . -name '*.gcno' | xargs rm -f find . -name '*.gcda' | xargs rm -f +CLEANFILES+= config/top.h