1 --- ceph-10.2.11/src/ceph-detect-init/Makefile.am.orig 2018-07-09 18:23:56.000000000 +0200
2 +++ ceph-10.2.11/src/ceph-detect-init/Makefile.am 2020-05-23 15:54:24.161595205 +0200
4 ceph-detect-init-install-data:
5 cd $(srcdir)/ceph-detect-init ; \
6 if test "$(DESTDIR)" ; then \
7 - if lsb_release -si | grep --quiet 'Ubuntu\|Debian\|Devuan' ; then \
8 - options=--install-layout=deb ; \
10 options=--prefix=/usr ; \
12 root="--root=$(DESTDIR)" ; \
14 - python setup.py install $$root $$options
15 + $(PYTHON) setup.py install $$root $$options --optimize=2
17 -LOCAL_ALL += ceph-detect-init-all
18 -LOCAL_CLEAN += ceph-detect-init-clean
19 LOCAL_INSTALLDATA += ceph-detect-init-install-data
20 --- ceph-10.2.11/src/ceph-disk/Makefile.am.orig 2018-07-09 18:23:56.000000000 +0200
21 +++ ceph-10.2.11/src/ceph-disk/Makefile.am 2020-05-23 15:55:36.397870535 +0200
24 export CEPH_DISK_VIRTUALENV = ${CEPH_BUILD_VIRTUALENV}/ceph-disk-virtualenv
26 -ceph-disk-all: ${CEPH_DISK_VIRTUALENV}
27 +ceph-disk-init-all: ${CEPH_DISK_VIRTUALENV}
29 ${CEPH_DISK_VIRTUALENV}:
30 cd $(srcdir)/ceph-disk ; ../tools/setup-virtualenv.sh ${CEPH_DISK_VIRTUALENV} ; test -d wheelhouse && export NO_INDEX=--no-index ; ${CEPH_DISK_VIRTUALENV}/bin/pip install $$NO_INDEX --find-links=file://$$(pwd)/wheelhouse -e .
32 ceph-disk-install-data:
33 cd $(srcdir)/ceph-disk ; \
34 if test "$(DESTDIR)" ; then \
35 - if lsb_release -si | grep --quiet 'Ubuntu\|Debian\|Devuan' ; then \
36 - options=--install-layout=deb ; \
38 options=--prefix=/usr ; \
40 root="--root=$(DESTDIR) --install-script=/usr/sbin" ; \
42 - python setup.py install $$root $$options
43 + $(PYTHON) setup.py install $$root $$options --optimize=2
45 -LOCAL_ALL += ceph-disk-all
46 LOCAL_CLEAN += ceph-disk-clean
47 LOCAL_INSTALLDATA += ceph-disk-install-data