]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: install platlib into a subdir of build-base dir 10666/head
authorKefu Chai <kchai@redhat.com>
Wed, 10 Aug 2016 14:23:05 +0000 (22:23 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 10 Aug 2016 16:14:17 +0000 (00:14 +0800)
commit5444721b1da03e7379d0a2e359a223666b2692da
treef7e6c709f6ee5fe16ffa4e7444096becf83afa3a
parent02d91db7b6cd31f42f16117151a1b16adca96bdf
cmake: install platlib into a subdir of build-base dir

distutils' install command installs all stuff under $build-base, which
includes the temporary files. and rpm packaging does not like::
  Installed (but unpackaged) file(s)
and to support both py2 and py3, we should encode the python version
into the path, otherwise the built files will be overwritten.

Signed-off-by: Kefu Chai <kchai@redhat.com>
cmake/modules/AddCephTest.cmake
cmake/modules/Distutils.cmake
src/ceph.in
src/pybind/cephfs/Makefile.am
src/pybind/rados/Makefile.am
src/pybind/rbd/Makefile.am