X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=Makefile.am;h=cbec4971ea7406b4d086c462ae2074d31894c6d7;hb=a88a69979a189b082b72ef8c069a75aab8f0d052;hp=6b05f81f7e880e7c4cb9800c00c65e6308fe31a5;hpb=aef60cba06c79c42f79532923aa49675386c552f;p=awesomized%2Flibmemcached diff --git a/Makefile.am b/Makefile.am index 6b05f81f..cbec4971 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,13 +1,21 @@ -INCLUDES = include -SUBDIRS = docs include lib src tests - -test: all - cd tests; make test; cd .. - -ltest: all - ./tests/testapp output.txt - -valgrind: - cd tests; make valgrind; cd .. - - +INCLUDES = +SUBDIRS = docs libmemcached tests support clients +EXTRA_dist = README.FIRST + +test: all + @(cd tests; ${MAKE} test) + +test-extended: all + @(cd tests; ${MAKE} test-extended) + +valgrind: + @(cd tests; ${MAKE} valgrind) + +test-no-outputdiff: + @(cd tests; ${MAKE} test-no-outputdiff) + +rpm: all dist + cp libmemcached-$(VERSION).tar.gz /home/brian/rpm/SOURCES/ + rpmbuild -ba support/libmemcached.spec + cp /home/brian/rpm/RPMS/x86_64/libmemcached-$(VERSION)*.rpm . + cp /home/brian/rpm/SRPMS/libmemcached-$(VERSION)*.rpm .