| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | #export DH_VERBOSE=1 |
| 4 | |
| 5 | export PYBUILD_NAMEscip-makefile . . . PYBUILD_NAME.=django-cas-server |
| 6 | export PYBUILD_DISABLEscip-makefile . . . PYBUILD_DISABLE.=test |
| 7 | |
| 8 | |
| 9 | %scip-makefile . . . `%`/: |
| 10 | dh $@scip-makefile . . . `@`. --buildsystem=pybuild |
| 11 | |
| 12 | override_dh_auto_buildscip-makefile . . . override_dh_auto_build/: exportscip-makefile . . . export/ http_proxy=127.0.0.1:9scip-makefile . . . `http_proxy=127.0.0.1:9`/ |
| 13 | override_dh_auto_buildscip-makefile . . . override_dh_auto_build/: exportscip-makefile . . . export/ https_proxy=127.0.0.1:9scip-makefile . . . `https_proxy=127.0.0.1:9`/ |
| 14 | override_dh_auto_buildscip-makefile . . . override_dh_auto_build/: |
| 15 | dh_auto_build |
| 16 | PYTHONPATH=. python3 -m sphinx -N -bhtml docs/ -d debian/doctrees build/html # HTML generator |
| 17 | PYTHONPATH=. python3 -m sphinx -N -bman docs/ -d debian/doctrees build/man # Manpage generator |
| 18 | |
| 19 | |
| 20 | override_dh_auto_cleanscip-makefile . . . override_dh_auto_clean/: |
| 21 | dh_auto_clean |
| 22 | rm -rf debian/doctrees |