| 1 | #! /usr/bin/make -f |
| 2 | |
| 3 | export PYBUILD_NAME := six |
| 4 | export PYBUILD_TEST_PYTEST := 1 |
| 5 | |
| 6 | %: |
| 7 | dh $@ --buildsystem=pybuild |
| 8 | |
| 9 | ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) |
| 10 | execute_after_dh_auto_build: |
| 11 | $(MAKE) -C documentation html |
| 12 | endif |
| 13 | |
| 14 | execute_after_dh_auto_clean: |
| 15 | $(MAKE) -C documentation clean |
| 16 | |
| 17 | override_dh_installdocs: |
| 18 | dh_installdocs -Npython-six-doc |
| 19 | dh_installdocs -ppython-six-doc --doc-main-package=python3-six |