#!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE = 1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all export PYBUILD_NAME = h5py %: dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild override_dh_auto_clean: dh_auto_clean ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) $(MAKE) -C docs clean $(MAKE) -C docs_api clean endif override_dh_auto_build: export http_proxy=127.0.0.1:9 override_dh_auto_build: export https_proxy=127.0.0.1:9 override_dh_auto_build: dh_auto_build ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) python3 setup.py build_ext --inplace PYTHONPATH=$(CURDIR) $(MAKE) -C docs html PYTHONPATH=$(CURDIR) $(MAKE) -C docs_api html endif override_dh_python2: dh_python2 dh_numpy override_dh_python3: dh_python3 dh_numpy3 override_dh_strip-arch: dh_strip --package=python-$(PYBUILD_NAME) \ --dbg-package=python-$(PYBUILD_NAME)-dbg dh_strip --package=python3-$(PYBUILD_NAME) \ --dbg-package=python3-$(PYBUILD_NAME)-dbg