]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
autoconf: fix build out of tree 643/head
authorLoic Dachary <loic@dachary.org>
Thu, 26 Sep 2013 08:14:20 +0000 (10:14 +0200)
committerLoic Dachary <loic@dachary.org>
Thu, 26 Sep 2013 09:47:26 +0000 (11:47 +0200)
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>
src/Makefile.am

index 5e745a0573f08a6cad1b4abe735bd7da18b89bf3..e09941ed8f357d8bd97f65b4a1d53707c1642b34 100644 (file)
@@ -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 $@