| 12
 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
 
 | #!/usr/bin/make -f
# See https://wiki.debian.org/Python/LibraryStyleGuide.
export PYBUILD_NAME := ptk
%:
	dh $@ --buildsystem=pybuild
# README.rst and html are also mentioned in python-ptk-doc.doc*.
# And in debian/clean.
.PHONY: execute_after_dh_auto_build
# Forbid internet access.
execute_after_dh_auto_build: http_proxy=127.0.0.1:9
execute_after_dh_auto_build: https_proxy=127.0.0.1:9
execute_after_dh_auto_build:
# Refresh README.rst.
	python3 prepare.py
# Refresh doc/build/html/.
	$(MAKE) -C doc html
.PHONY: override_dh_auto_test
override_dh_auto_test:
	python3 tests/test_all.py
.PHONY: override_dh_installdocs
override_dh_installdocs:
	dh_installdocs --package=python-ptk-doc --doc-main-package=python3-ptk
	dh_installdocs --remaining-packages
 |