#!/usr/bin/make -f include /usr/share/dpkg/architecture.mk # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export PYBUILD_NAME=pamqp ifeq ($(DEB_HOST_ARCH_BITS),32) export PYBUILD_TEST_ARGS=-k 'not test_decode_large_timestamp_bytes_consumed \ and not test_decode_large_timestamp_data_type \ and not test_decode_large_timestamp_value' endif %: dh $@ --buildsystem=pybuild execute_before_dh_mkdocs: ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) python3 -m mkdocs build -d $(CURDIR)/debian/python-pamqp-doc/usr/share/doc/python-pamqp-doc/html rm -f $(CURDIR)/debian/python-pamqp-doc/usr/share/doc/python-pamqp-doc/html/sitemap.xml.gz endif