Commit a23ab006 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Allow custom install location for python bindings

parent c470ac7b
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment