From: Brian Aker Date: Thu, 31 May 2012 03:56:17 +0000 (-0400) Subject: Fix for mkdir rpm directories. X-Git-Tag: 1.0.9~34^2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=cddd96a88fd208d390e56a08f2338ab2b71214f6;p=m6w6%2Flibmemcached Fix for mkdir rpm directories. --- 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/