From: Brian Aker Date: Fri, 28 Sep 2007 16:35:52 +0000 (-0700) Subject: Finished RPM support. You can now type "make rpm" to build an rpm. X-Git-Tag: 0.3~18 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=57408dce015f0d55d7c0f99113567d9d5e89618d;p=m6w6%2Flibmemcached Finished RPM support. You can now type "make rpm" to build an rpm. --- 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)