| 1 |
#! /usr/bin/make -f |
| 2 |
|
| 3 |
export PYBUILD_NAME=attr |
| 4 |
|
| 5 |
%: |
| 6 |
dh $@ --buildsystem=pybuild |
| 7 |
|
| 8 |
execute_after_dh_auto_build: |
| 9 |
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) |
| 10 |
PYTHONPATH=$(shell pybuild --print build_dir --interpreter python3) \ |
| 11 |
http_proxy='127.0.0.1:9' \ |
| 12 |
https_proxy='127.0.0.1:9' \ |
| 13 |
python3 -m sphinx -N -b html docs/ $(CURDIR)/.pybuild/docs/html/ |
| 14 |
endif |
| 15 |
|
| 16 |
execute_after_dh_auto_install: |
| 17 |
find $(CURDIR)/debian/python3-attr/usr/lib -name .hypothesis -type d -print0 | xargs -r0 rm -rv |
| 18 |
|