debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | #DH_VERBOSE=1 |
| 3 | |
| 4 | export PYBUILD_NAME=session_security |
| 5 | |
| 6 | %: |
| 7 | dh $@ --with sphinxdoc --buildsystem=pybuild |
| 8 | |
| 9 | execute_after_dh_auto_build: |
| 10 | ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) |
| 11 | LC_ALL=C PYTHONPATH=. http_proxy='http://127.0.0.1:9/' sphinx-build -N -bhtml docs/source build/sphinx/html |
| 12 | endif |
| 13 | |
| 14 | override_dh_auto_test: |
| 15 | PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} setup.py test" dh_auto_test |