Skip to content

Commit

Permalink
Merge pull request #8436 from dreamhost/wip-python-prefix
Browse files Browse the repository at this point in the history
python: Pass prefix/sbindir from autoconf to distutils.

Reviewed-by: Kefu Chai <kchai@redhat.com>
  • Loading branch information
tchaikov committed Jun 11, 2016
2 parents 9db46b0 + 97b9734 commit fb2667f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ceph-detect-init/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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 ; \
Expand Down
4 changes: 2 additions & 2 deletions src/ceph-disk/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fb2667f

Please sign in to comment.