From: Loic Dachary Date: Thu, 26 Sep 2013 08:14:20 +0000 (+0200) Subject: autoconf: fix build out of tree X-Git-Tag: v0.71~62^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a65a8678bf9960babd2362ca89611d2c90574120;p=ceph.git autoconf: fix build out of tree so that the following works: git clone git@github.com:ceph/ceph.git cd ceph ./autogen.sh mkdir ../build cd ../build ../ceph/configure --with-radosgw make check Signed-off-by: Loic Dachary --- diff --git a/src/Makefile.am b/src/Makefile.am index 5e745a0573f0..e09941ed8f35 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -300,7 +300,7 @@ ceph: ceph.in ./ceph_ver.h Makefile sed -e 's/#define \(.*VER\) /\1=/' >>$@.tmp grep "#define CEPH_GIT_VER" ./ceph_ver.h | \ sed -e 's/#define \(.*VER\) /\1=/' -e 's/=\(.*\)$$/="\1"/' >>$@.tmp - cat $@.in >>$@.tmp + cat $(srcdir)/$@.in >>$@.tmp chmod a+x $@.tmp chmod a-w $@.tmp mv $@.tmp $@