| 1 |
#!/usr/bin/make -f |
| 2 |
# See debhelper(7) (uncomment to enable) |
| 3 |
# output every command that modifies files on the build system. |
| 4 |
#export DH_VERBOSE = 1 |
| 5 |
|
| 6 |
export PYBUILD_NAME=polyline |
| 7 |
export PYBUILD_VERBOSE=1 |
| 8 |
|
| 9 |
%: |
| 10 |
ifeq (,$(filter nodoc,${DEB_BUILD_OPTIONS} ${DEB_BUILD_PROFILES})) |
| 11 |
dh $@ --with python3,sphinxdoc --buildsystem=pybuild |
| 12 |
else |
| 13 |
dh $@ --with python3 --buildsystem=pybuild |
| 14 |
endif |
| 15 |
|
| 16 |
execute_after_dh_auto_build: |
| 17 |
PYTHONPATH=. python3 -m sphinx -N -bhtml docs/ build/html |
| 18 |
|
| 19 |
execute_after_dh_auto_install: |
| 20 |
find $(CURDIR)/debian/python3-polyline -name '.coverage' -print0 | xargs -0 rm -f |