#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all export PYBUILD_NAME=cx-oracle # use system libodpi4 include /usr/share/dpkg/architecture.mk export ODPIC_INC_DIR=/usr/include export ODPIC_LIB_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) %: dh $@ --with python3,sphinxdoc --buildsystem=pybuild override_dh_auto_build: dh_auto_build ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),) PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc/src/ build/html endif override_dh_auto_install: dh_auto_install rm -rf debian/python3-cx-oracle/usr/cx_Oracle-doc/