From cddd96a88fd208d390e56a08f2338ab2b71214f6 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Wed, 30 May 2012 23:56:17 -0400 Subject: [PATCH] Fix for mkdir rpm directories. --- Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile.am b/Makefile.am index 61bee317..127c071a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -63,12 +63,18 @@ EXTRA_DIST+= ${man_MANS} fedora: @rm -f ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm @rm -f ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm + @mkdir -p ~/rpmbuild/SOURCES/ + @mkdir -p ~/rpmbuild/RPMS/x86_64/ + @mkdir -p ~/rpmbuild/SRPMS/ @cp libmemcached-$(VERSION).tar.gz ~/rpmbuild/SOURCES/ @rpmbuild -ba support/libmemcached.spec @cp ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm . @cp ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm . generic: support/libmemcached.spec + @mkdir -p ~/rpmbuild/SOURCES/ + @mkdir -p ~/rpmbuild/RPMS/x86_64/ + @mkdir -p ~/rpmbuild/SRPMS/ @rm -f ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm @rm -f ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm @cp libmemcached-$(VERSION).tar.gz ~/rpmbuild/SOURCES/ -- 2.30.2