20 lines
492 B
Makefile
Executable file
20 lines
492 B
Makefile
Executable file
#!/usr/bin/make -f
|
|
|
|
export LC_ALL=C.UTF-8
|
|
export LANG=C.UTF-8
|
|
|
|
export PYBUILD_NAME=click
|
|
export PYBUILD_TEST_PYTEST=1
|
|
export PYBUILD_TEST_ARGS={dir}/tests/
|
|
|
|
export SOURCE = $(CURDIR)/debian/
|
|
|
|
%:
|
|
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
|
|
|
|
override_dh_sphinxdoc:
|
|
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
|
|
http_proxy='http://127.0.0.1:9/' PYTHONPATH=. sphinx-build -N -q -E -b html docs/ debian/python-click-doc/usr/share/doc/python-click/html/
|
|
dh_sphinxdoc
|
|
endif
|