X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=Makefile.am;h=789e6dcffcbb1c939eb101c794237affddb65364;hb=cf75592f1722f5f67fcc4edd658e547e7fee7454;hp=a64dc9c36912b3eb3101704921ea00671216e3bc;hpb=f4fad3ec857e647a47572eb66cc5877f3ae012ae;p=awesomized%2Flibmemcached diff --git a/Makefile.am b/Makefile.am index a64dc9c3..789e6dcf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -26,6 +26,10 @@ EXTRA_DIST= dist_man_MANS= MAINTAINERCLEANFILES= +if IS_VCS_CHECKOUT +SUBDIRS= docs +endif + #includes additional rules from aminclude.am @INC_AMINCLUDE@ @@ -57,7 +61,7 @@ endif include libmemcachedutil-1.0/include.am include clients/include.am -include docs/include.am + include man/include.am if BUILD_LIBMEMCACHED_PROTOCOL @@ -74,7 +78,7 @@ endif include libmemcachedinternal/include.am include libmemcachedinternal/util/include.am -include rpm/include.am +include rpm/include.mk include support/include.am include tests/include.am include util/include.am @@ -83,9 +87,7 @@ include win32/include.am include m4/include.am endif -TESTS += ${bin_PROGRAMS} TESTS += ${check_PROGRAMS} -XFAIL_TESTS += ${bin_PROGRAMS} if ! BUILD_WIN32 @@ -96,7 +98,6 @@ merge-clean: @find ./ | $(GREP) \.moved | xargs rm -r -f @find ./ | $(GREP) \\.orig | xargs rm -f @find ./ | $(GREP) \.rej | xargs rm -f - @rm -f *\.rpm @find ./ | $(GREP) \.THIS | xargs rm -f @find ./ | $(GREP) \.OTHER | xargs rm -f @find ./ | $(GREP) \.BASE | xargs rm -f @@ -104,7 +105,7 @@ merge-clean: @echo "Files that need to be either removed or checked in:" @bzr unknowns -clean-local: clean-libtest-check clean-docs-check clean-rpm +clean-local: clean-libtest-check clean-rpm lcov: lcov-clean check @@ -126,11 +127,7 @@ DISTCLEANFILES+= config/top.h maintainer-clean-local: find . -type f -name '*~' -exec rm -f '{}' \; - -rm -f @PACKAGE@-*.tar.gz - -rm -f man/*.1 - -rm -f man/*.3 - -rm -f man/*.8 - -rm -rf man/.doctrees/ + -$(RM) $(dist_man_MANS) -rm -f Makefile.in -rm -f aclocal.m4 -rm -f build-aux/compile @@ -154,3 +151,4 @@ maintainer-clean-local: -rm -f m4/test-driver -rmdir build-aux -rm -rf ${top_builddir}/html + -rm -f $(DIST_ARCHIVES)