1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#!/usr/bin/make -f
#export DH_VERBOSE = 1
export PYBUILD_NAME=pystray
export TEST_SKIP_INTERACTIVE=1
%:
dh $@ --buildsystem=pybuild --with python3,sphinxdoc
execute_before_dh_sphinxdoc:
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
PYTHONPATH=./lib python3 -m sphinx -b html -N docs/ \
$(CURDIR)/debian/python-pystray-doc/usr/share/doc/python-pystray-doc/html
endif
override_dh_auto_test:
ifeq (,$(filter nocheck, $(DEB_BUILD_OPTIONS)))
PYTHONPATH=./lib xvfb-run --auto-servernum dh_auto_test
endif
|