From a65a8678bf9960babd2362ca89611d2c90574120 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Thu, 26 Sep 2013 10:14:20 +0200 Subject: [PATCH] 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 --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $@ -- 2.47.3