1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
export PYBUILD_NAME = pycares
export PYCARES_USE_SYSTEM_LIB = 1
%:
dh $@ --with python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_build-indep:
$(MAKE) -C docs html
override_dh_auto_clean-indep:
$(MAKE) -C docs clean
# Tests require network, tested by debci
override_dh_auto_test:
override_dh_installdocs:
dh_installdocs -ppython-pycares-doc --doc-main-package=python3-pycares
dh_installdocs --remaining-packages
override_dh_installexamples:
dh_installexamples -ppython-pycares-doc --doc-main-package=python3-pycares
|