Allow custom install location for python bindings
This commit is contained in:
parent
c470ac7b00
commit
a23ab00686
|
@ -33,11 +33,12 @@ all-local: nghttp2.c
|
|||
$(PYTHON) setup.py build
|
||||
|
||||
install-exec-local:
|
||||
$(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
|
||||
test -d $(pyexecdir) || mkdir -p $(pyexecdir)
|
||||
PYTHONUSERBASE=$(DESTDIR)/$(prefix) $(PYTHON) setup.py install --user
|
||||
|
||||
uninstall-local:
|
||||
rm -f $(DESTDIR)$(libdir)/python*/site-packages/nghttp2.so
|
||||
rm -f $(DESTDIR)$(libdir)/python*/site-packages/python_nghttp2-*.egg-info
|
||||
rm -f $(DESTDIR)$(libdir)/python*/site-packages/python_nghttp2-*.egg
|
||||
|
||||
clean-local:
|
||||
$(PYTHON) setup.py clean --all
|
||||
|
|
Loading…
Reference in New Issue