File: rules

package info (click to toggle)
python-autoray 0.7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,708 kB
  • sloc: python: 5,490; makefile: 20
file content (17 lines) | stat: -rwxr-xr-x 528 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export PYBUILD_NAME=autoray

%:
	dh $@ --with python3,sphinxdoc --buildsystem=pybuild

override_dh_installdocs:
	mv docs/index.md docs/index.rst
	https_proxy='127.0.0.1:9' sphinx-build -b html docs build/sphinx/html
	dh_installdocs -ppython-autoray-doc --doc-main-package=python-autoray-doc build/sphinx/html
	dh_installdocs

override_dh_auto_install:
	dh_auto_install
	# Remove coverage files from the package
	find $(CURDIR)/debian/python3-autoray \( -name '*.coverage' -o -name '*.xml' \) -type f -delete