File: rules

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

export PYBUILD_NAME=sphinx_contributors
#Disabling test that may need github access via network.
export PYBUILD_TEST_ARGS=-v -k 'not test_contributor_directive'

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

override_dh_auto_install:
	dh_auto_install
	find debian/python3-sphinx-contributors -type d -name '__pycache__' -exec rm -rf {} +

override_dh_installdocs:
	https_proxy='127.0.0.1:9' sphinx-build -b html docs/source build/sphinx/html
	dh_installdocs -ppython-sphinx-contributors-doc --doc-main-package=python-sphinx-contributors-doc build/sphinx/html
	dh_installdocs