| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | |
| 5 | export PYBUILD_NAME = argon2 |
| 6 | |
| 7 | %: |
| 8 | dh $@ --buildsystem=pybuild |
| 9 | |
| 10 | override_dh_auto_clean: |
| 11 | dh_auto_clean |
| 12 | rm -rf $(CURDIR)/debian/hypothesis |
| 13 | rm -rf docs/_build |
| 14 | |
| 15 | execute_after_dh_auto_build-indep: |
| 16 | ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES))) |
| 17 | PYTHONPATH=`pybuild --print build_dir --interpreter python3` $(MAKE) -C docs html |
| 18 | endif |