mirror of
https://github.com/ceph/ceph
synced 2025-01-20 01:51:34 +00:00
Merge pull request #8436 from dreamhost/wip-python-prefix
python: Pass prefix/sbindir from autoconf to distutils. Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
fb2667f3e1
@ -69,7 +69,7 @@ ceph-detect-init-install-data:
|
||||
if lsb_release -si | grep --quiet 'Ubuntu\|Debian\|Devuan' ; then \
|
||||
options=--install-layout=deb ; \
|
||||
else \
|
||||
options=--prefix=/usr ; \
|
||||
options=--prefix=$(prefix) ; \
|
||||
fi ; \
|
||||
root="--root=$(DESTDIR)" ; \
|
||||
fi ; \
|
||||
|
@ -45,9 +45,9 @@ ceph-disk-install-data:
|
||||
if lsb_release -si | grep --quiet 'Ubuntu\|Debian\|Devuan' ; then \
|
||||
options=--install-layout=deb ; \
|
||||
else \
|
||||
options=--prefix=/usr ; \
|
||||
options=--prefix=$(prefix) ; \
|
||||
fi ; \
|
||||
root="--root=$(DESTDIR) --install-script=/usr/sbin" ; \
|
||||
root="--root=$(DESTDIR) --install-script=$(sbindir)" ; \
|
||||
fi ; \
|
||||
python setup.py install $$root $$options
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user