1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Description: adjust Makefile to build Python bindings correctly
Include Python make fules and add build options.
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
Bindings/Python/Makefile.in | 2 ++
1 file changed, 2 insertions(+)
--- a/Bindings/Python/Makefile.in
+++ b/Bindings/Python/Makefile.in
@@ -63,10 +63,12 @@ constants.auto.pyx: $(CONSTANTS_DEPENDEN
doc: $(PYTHON_API)
LD_PRELOAD=$(API_LIB) "$(PYTHON)" $(SRC_DIR)/mkdoc.py $(PYTHON_MODULE)
+-include /usr/share/python3/python.mk
install: all
set -- $(V_setup) install --skip-build --record "$(INSTALLED_FILES)"; \
[ -z "$(PYTHON_DESTDIR)" ] || set -- "$${@}" --root "$(PYTHON_DESTDIR)"; \
[ -z "$(PYTHON_PREFIX)" ] || set -- "$${@}" --prefix "$(PYTHON_PREFIX)"; \
+ set -- "$${@}" $(py_setup_install_args); \
"$(PYTHON)" ./setup.py "$${@}"
[ "@host_os@" != "mingw32" ] || "$(PYTHON)" ./setup.py $(V_setup) bdist_wheel --skip-build
-rm -f -r -- Brlapi.egg-info
|