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