1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#!/usr/bin/make -f
# -*- makefile -*-
#export DH_VERBOSE = 1
export PYBUILD_NAME=factory-boy
export PYBUILD_BEFORE_TEST=cp setup.cfg {build_dir}
export PYBUILD_AFTER_TEST=rm {build_dir}/setup.cfg
%:
dh $@ --buildsystem=pybuild
override_dh_clean:
dh_clean
rm -rf .mypy_cache
override_dh_sphinxdoc:
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
PYTHONPATH=. python3 -m sphinx -b html docs $(CURDIR)/debian/python-factory-boy-doc/usr/share/doc/python-factory-boy-doc/html
dh_sphinxdoc -O--buildsystem=pybuild
endif
|