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
|
$(PYTHON) setup.py build
|
||||||
|
|
||||||
install-exec-local:
|
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:
|
uninstall-local:
|
||||||
rm -f $(DESTDIR)$(libdir)/python*/site-packages/nghttp2.so
|
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:
|
clean-local:
|
||||||
$(PYTHON) setup.py clean --all
|
$(PYTHON) setup.py clean --all
|
||||||
|
|
Loading…
Reference in New Issue