| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | DPKG_EXPORT_BUILDFLAGSscip-makefile . . . DPKG_EXPORT_BUILDFLAGS. = 1 |
| 4 | include /usr/share/dpkg/default.mk |
| 5 | |
| 6 | export LC_ALLscip-makefile . . . LC_ALL.=C.UTF-8 |
| 7 | export PYBUILD_NAMEscip-makefile . . . PYBUILD_NAME.:=dfwinreg |
| 8 | |
| 9 | %scip-makefile . . . `%`/: |
| 10 | dh $@scip-makefile . . . `@`. --buildsystem=pybuild --with sphinxdoc |
| 11 | |
| 12 | override_dh_sphinxdocscip-makefile . . . override_dh_sphinxdoc/: |
| 13 | PYTHONPATH=src python3 -m sphinx -b html $(SPHINXOPTS) docs $(CURDIRscip-makefile . . . CURDIR.)/debian/python3-dfwinreg/usr/share/doc/python3-dfwinreg/html |
| 14 | dh_sphinxdoc |
| 15 | |
| 16 | override_dh_auto_testscip-makefile . . . override_dh_auto_test/: |
| 17 | ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 18 | python3 run_tests.py |
| 19 | endif |