#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all export PYBUILD_NAME=maxminddb %: dh $@ --buildsystem=pybuild ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES))) execute_before_dh_auto_build: PYTHONPATH=.:$$PYTHONPATH sphinx-build -b html -d .build/.doctrees -N docs .build/html endif