Finished RPM support. You can now type "make rpm" to build an rpm.
authorBrian Aker <brian@tangent.org>
Fri, 28 Sep 2007 16:35:52 +0000 (09:35 -0700)
committerBrian Aker <brian@tangent.org>
Fri, 28 Sep 2007 16:35:52 +0000 (09:35 -0700)
Makefile.am
configure.in

index 6bc18c4e1c9ea020f98b3cd8a4008e61d820a214..5cc8d5c5e5d0f6eb011e18e201611655757a414b 100644 (file)
@@ -15,7 +15,7 @@ valgrind-extended:
 \r
 \r
 rpm: all dist\r
-       cp $(DISTVNAME).tar$(SUFFIX) /usr/src/redhat/SOURCES\r
-       rpm -ba support/libmemcached.spec\r
-       cp /usr/src/redhat/RPMS/i386/$(DISTVNAME)*.i386.rpm .\r
-       cp /usr/src/redhat/SRPMS/$(DISTVNAME)*.src.rpm .\r
+       cp libmemcached-$(VERSION).tar.gz /home/brian/rpmbuild/SOURCES/\r
+       rpmbuild -ba support/libmemcached.spec\r
+       cp /home/brian/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm .\r
+       cp /home/brian/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm .\r
index b083c43353bd6e7cc9a93da1b3bdffaf8211445c..9704a42f066214882d464fdba56e7608ea44f086 100644 (file)
@@ -11,4 +11,4 @@ AC_SUBST(LIBTOOL)dnl
 AC_C_CONST\r
 AC_TYPE_SIZE_T\r
 AC_CHECK_HEADERS(limits.h syslimits.h)\r
-AC_OUTPUT(Makefile src/Makefile tests/Makefile docs/Makefile lib/Makefile include/Makefile include/Makefile)\r
+AC_OUTPUT(Makefile src/Makefile tests/Makefile docs/Makefile lib/Makefile include/Makefile support/Makefile)\r