#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export PYBUILD_NAME=flask-cors %: dh $@ --buildsystem=pybuild override_dh_clean: dh_clean rm -rf .mypy_cache debian/html override_dh_auto_build: dh_auto_build ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) PYTHONPATH=. python3 -m mkdocs build -v --site-dir=debian/html rm -f debian/html/sitemap.xml.gz endif override_dh_mkdocs: ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) dh_mkdocs endif override_dh_auto_test: dh_auto_test -- --system=custom --test-args="PYTHONPATH={build_dir} {interpreter} -m pytest"