From 57408dce015f0d55d7c0f99113567d9d5e89618d Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Fri, 28 Sep 2007 09:35:52 -0700 Subject: [PATCH] Finished RPM support. You can now type "make rpm" to build an rpm. --- Makefile.am | 8 ++++---- configure.in | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile.am b/Makefile.am index 6bc18c4e..5cc8d5c5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -15,7 +15,7 @@ valgrind-extended: rpm: all dist - cp $(DISTVNAME).tar$(SUFFIX) /usr/src/redhat/SOURCES - rpm -ba support/libmemcached.spec - cp /usr/src/redhat/RPMS/i386/$(DISTVNAME)*.i386.rpm . - cp /usr/src/redhat/SRPMS/$(DISTVNAME)*.src.rpm . + cp libmemcached-$(VERSION).tar.gz /home/brian/rpmbuild/SOURCES/ + rpmbuild -ba support/libmemcached.spec + cp /home/brian/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm . + cp /home/brian/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm . diff --git a/configure.in b/configure.in index b083c433..9704a42f 100644 --- a/configure.in +++ b/configure.in @@ -11,4 +11,4 @@ AC_SUBST(LIBTOOL)dnl AC_C_CONST AC_TYPE_SIZE_T AC_CHECK_HEADERS(limits.h syslimits.h) -AC_OUTPUT(Makefile src/Makefile tests/Makefile docs/Makefile lib/Makefile include/Makefile include/Makefile) +AC_OUTPUT(Makefile src/Makefile tests/Makefile docs/Makefile lib/Makefile include/Makefile support/Makefile) -- 2.30.2