summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Dachary <loic@dachary.org>2013-09-26 10:14:20 +0200
committerLoic Dachary <loic@dachary.org>2013-09-26 11:47:26 +0200
commita65a8678bf9960babd2362ca89611d2c90574120 (patch)
treefe85b2b50b61be08021dd67cfeb3056e5c7868bc
parent7147ef7fbd6953935a8e0294f5a2a8a3739b0cbd (diff)
downloadceph-a65a8678bf9960babd2362ca89611d2c90574120.tar.gz
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 <loic@dachary.org>
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 5e745a0573f..e09941ed8f3 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 $@