Merge lp:~tangent-org/libmemcached/1.0-build Build: jenkins-Libmemcached-1.0-60
[awesomized/libmemcached] / Makefile.am
1 # vim:ft=automake
2
3 ACLOCAL_AMFLAGS = -I m4 -I libtest/m4 --install -Wall -Werror
4
5 # includes append to these:
6 SUFFIXES =
7 .PHONY =
8 TESTS =
9 CLEANFILES =
10 DISTCLEANFILES =
11 bin_PROGRAMS =
12 noinst_HEADERS =
13 lib_LTLIBRARIES =
14 man_MANS =
15 noinst_LTLIBRARIES =
16 noinst_PROGRAMS =
17 include_HEADERS =
18 nobase_include_HEADERS =
19 check_PROGRAMS =
20 EXTRA_HEADERS =
21 BUILT_SOURCES=
22 EXTRA_DIST=
23
24 #includes additional rules from aminclude.am
25 @INC_AMINCLUDE@
26
27 DISTCLEANFILES+= aminclude.am
28
29 EXTRA_DIST+= ${srcdir}/m4/pandora_*.m4
30 EXTRA_DIST+= .quickly
31 EXTRA_DIST+= README.FIRST
32 EXTRA_DIST+= README.win32
33
34 aclocaldir= $(datadir)/aclocal
35 dist_aclocal_DATA=
36
37 include libtest/include.am
38
39 include libhashkit-1.0/include.am
40 include libmemcached-1.0/include.am
41 include libmemcachedprotocol-0.0/include.am
42 include libmemcachedutil-1.0/include.am
43
44 include clients/include.am
45 include docs/include.am
46 include man/include.am
47 include example/include.am
48 include libhashkit/include.am
49 include libmemcached/include.am
50 include libmemcachedutil/include.am
51 include libmemcachedprotocol/include.am
52 include libmemcachedinternal/include.am
53 include libmemcachedinternal/util/include.am
54 include poll/include.am
55 include rpm.am
56 include support/include.am
57 include tests/include.am
58 include util/include.am
59 include win32/include.am
60
61 include m4/include.am
62
63 TESTS += ${check_PROGRAMS}
64
65 EXTRA_DIST+= ${man_MANS}
66
67 merge-clean:
68 @find ./ | $(GREP) \.gcda | xargs rm -f
69 @find ./ | $(GREP) \.gcno | xargs rm -f
70 @find ./ | $(GREP) \.gz | xargs rm -f
71 @find ./ | $(GREP) \.moved | xargs rm -r -f
72 @find ./ | $(GREP) \\.orig | xargs rm -f
73 @find ./ | $(GREP) \.rej | xargs rm -f
74 @rm -f *\.rpm
75 @find ./ | $(GREP) \.THIS | xargs rm -f
76 @find ./ | $(GREP) \.OTHER | xargs rm -f
77 @find ./ | $(GREP) \.BASE | xargs rm -f
78 @find ./ | $(GREP) \~$$ | xargs rm -f
79 @echo "Files that need to be either removed or checked in:"
80 @bzr unknowns
81
82 clean-local:
83 -rm -rf docs/_build docs/doctrees
84
85 lcov: lcov-clean check
86 @echo
87 @echo " ------------------------------------------------------"
88 @echo "Make sure ./configure was run with '--enable-coverage'"
89 @echo "------------------------------------------------------"
90 @echo
91 @cd libmemcached && lcov --capture --directory . --base-directory .. --output-file lcov.out
92 @genhtml -o lcov --function-coverage -t libmemcached libmemcached/lcov.out
93
94 lcov-clean: clean
95 @rm -rf lcov */lcov.out
96 @find . -name '*.gcno' | xargs rm -f
97 @find . -name '*.gcda' | xargs rm -f
98
99 DISTCLEANFILES+= config/top.h
100
101 install-website: html-local
102 @rm -r -f /var/www/libmemcached/*
103 @cp -r docs/html /var/www/libmemcached