| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
|
| 4 |
# Uncomment this to turn on verbose mode. |
| 5 |
#export DH_VERBOSE=1 |
| 6 |
|
| 7 |
export PYBUILD_NAME=pika |
| 8 |
export PYBUILD_TEST_ARGS={dir}/tests/unit/ |
| 9 |
|
| 10 |
%: |
| 11 |
dh $@ --buildsystem=pybuild |
| 12 |
|
| 13 |
execute_before_dh_auto_clean: |
| 14 |
rm -rf docs/.build |
| 15 |
|
| 16 |
execute_before_dh_sphinxdoc: |
| 17 |
PYTHONPATH=. python3 -m sphinx -b html -d docs/.build/.doctrees -N docs $(CURDIR)/debian/python-pika-doc/usr/share/doc/python-pika-doc/html |
| 18 |
|
| 19 |
override_dh_compress: |
| 20 |
dh_compress -X.py |