| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export PYBUILD_NAMEscip-makefile . . . PYBUILD_NAME.=billiard |
| 4 | export PYBUILD_TEST_ARGSscip-makefile . . . PYBUILD_TEST_ARGS.=t/unit |
| 5 | export DEB_BUILD_MAINT_OPTIONSscip-makefile . . . DEB_BUILD_MAINT_OPTIONS. = hardening=+all |
| 6 | |
| 7 | %scip-makefile . . . `%`/: |
| 8 | dh $@scip-makefile . . . `@`. --buildsystem=pybuild |
| 9 | |
| 10 | override_dh_installchangelogsscip-makefile . . . override_dh_installchangelogs/: |
| 11 | dh_installchangelogs CHANGES.txt |
| 12 | |
| 13 | override_dh_compressscip-makefile . . . override_dh_compress/: |
| 14 | dh_compress -X.js -X.html -X.txt |
| 15 | |
| 16 | execute_before_dh_sphinxdocscip-makefile . . . execute_before_dh_sphinxdoc/: |
| 17 | ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) |
| 18 | PYTHONPATH=$(CURDIRscip-makefile . . . CURDIR.) python3 -m sphinx -b html -N $(CURDIRscip-makefile . . . CURDIR.)/Doc $(CURDIRscip-makefile . . . CURDIR.)/debian/python-billiard-doc/usr/share/doc/python-billiard-doc/html |
| 19 | endif |