python-compute/packaging/build/compute-0.1.0.dev1/debian/rules
2023-11-23 02:34:02 +03:00

21 lines
554 B
Makefile
Executable File

#!/usr/bin/make -f
export DH_VERBOSE = 1
export PYBUILD_DESTDIR_python3=debian/compute
%:
dh $@ --with python3,sphinxdoc,bash-completion --buildsystem=pybuild
override_dh_auto_test:
@echo No tests there
override_dh_sphinxdoc:
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
http_proxy=127.0.0.1:9 https_proxy=127.0.0.1:9 \
HTTP_PROXY=127.0.0.1:9 HTTPS_PROXY=127.0.0.1:9 \
PYTHONPATH=. PYTHON=python3 python3 -m sphinx $(SPHINXOPTS) -b html \
../docs/source \
$(CURDIR)/debian/compute-doc/usr/share/doc/compute-doc/html
dh_sphinxdoc
endif