| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export PYBUILD_NAME=cryptoparser |
| 4 |
|
| 5 |
%: |
| 6 |
dh $* --with python3,sphinxdoc --buildsystem=pybuild |
| 7 |
|
| 8 |
execute_before_dh_sphinxdoc: |
| 9 |
PYTHONPATH=. python3 -m sphinx -b html -N docs/ \ |
| 10 |
$(CURDIR)/debian/python-cryptoparser-doc/usr/share/doc/python-cryptoparser-doc/html |
| 11 |
|
| 12 |
execute_after_dh_auto_install: |
| 13 |
rm -rf $(CURDIR)/debian/python3-cryptoparser/usr/lib/python3*/dist-packages/build/ \ |
| 14 |
$(CURDIR)/debian/python3-cryptoparser/usr/lib/python3*/dist-packages/docs/ \ |
| 15 |
$(CURDIR)/debian/python3-cryptoparser/usr/lib/python3*/dist-packages/test/ |