1 ACLOCAL_AMFLAGS = -I m4
3 # includes append to these:
16 nobase_include_HEADERS =
21 ${srcdir}/m4/pandora_*.m4 \
26 config/pandora-plugin \
29 include libtest/include.am
31 include libhashkit-1.0/include.am
32 include libmemcached-1.0/include.am
33 include libmemcachedprotocol-0.0/include.am
34 include libmemcachedutil-1.0/include.am
36 include clients/include.am
37 include docs/include.am
38 include example/include.am
39 include libhashkit/include.am
40 include libmemcached/include.am
41 include libmemcachedutil/include.am
42 include libmemcachedprotocol/include.am
43 include libmemcachedinternal/include.am
44 include libmemcachedinternal/util/include.am
45 include poll/include.am
46 include support/include.am
47 include tests/include.am
48 include util/include.am
49 include win32/include.am
53 TESTS += ${check_PROGRAMS}
55 EXTRA_DIST+= ${man_MANS}
58 @rm -f ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm
59 @rm -f ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm
60 @cp libmemcached-$(VERSION).tar.gz ~/rpmbuild/SOURCES/
61 @rpmbuild -ba support/libmemcached.spec
62 @cp ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm .
63 @cp ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm .
65 generic: support/libmemcached.spec
66 @rm -f ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm
67 @rm -f ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm
68 @cp libmemcached-$(VERSION).tar.gz ~/rpmbuild/SOURCES/
69 @rpmbuild -ba support/libmemcached.spec
70 @cp ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm .
71 @cp ~/rpmbuild/RPMS/x86_64/libmemcached-devel-$(VERSION)*.rpm .
72 @cp ~/rpmbuild/RPMS/x86_64/libmemcached-debuginfo-$(VERSION)*.rpm .
73 @cp ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm .
75 rpm: man distcheck generic
78 @rpm --addsign libmemcached-$(VERSION)*.rpm .
79 @rpm --checksig libmemcached-$(VERSION)*.rpm .
80 @rpm --addsign libmemcached-devel-$(VERSION)*.rpm .
81 @rpm --checksig libmemcached-devel-$(VERSION)*.rpm .
82 @rpm --addsign libmemcached-debuginfo-$(VERSION)*.rpm .
83 @rpm --checksig libmemcached-debuginfo-$(VERSION)*.rpm .
86 @find ./ | $(GREP) \.gcda | xargs rm -f
87 @find ./ | $(GREP) \.gcno | xargs rm -f
88 @find ./ | $(GREP) \.gz | xargs rm -f
89 @find ./ | $(GREP) \.orig | xargs rm -f
90 @find ./ | $(GREP) \.rej | xargs rm -f
91 @find ./ | $(GREP) \.rpm | xargs rm -f
92 @find ./ | $(GREP) \.THIS | xargs rm -f
93 @find ./ | $(GREP) \.OTHER | xargs rm -f
94 @find ./ | $(GREP) \.BASE | xargs rm -f
95 @find ./ | $(GREP) \~$$ | xargs rm -f
96 @echo "Files that need to be either removed or checked in:"
100 -rm -rf docs/_build docs/doctrees
102 lcov: lcov-clean check
104 @echo " ------------------------------------------------------"
105 @echo "Make sure ./configure was run with '--enable-coverage'"
106 @echo "------------------------------------------------------"
108 @cd libmemcached && lcov --capture --directory . --base-directory .. --output-file lcov.out
109 @genhtml -o lcov --function-coverage -t libmemcached libmemcached/lcov.out
112 @rm -rf lcov */lcov.out
113 @find . -name '*.gcno' | xargs rm -f
114 @find . -name '*.gcda' | xargs rm -f
116 DISTCLEANFILES+= config/top.h