File: rules

package info (click to toggle)
sphinx-argparse 0.1.15-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 216 kB
  • ctags: 93
  • sloc: python: 686; makefile: 135; sh: 4
file content (17 lines) | stat: -rwxr-xr-x 597 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /usr/bin/make -f
#export DH_VERBOSE=1
export PYBUILD_NAME=sphinx-argparse

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

override_dh_auto_test:
	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x" dh_auto_test

override_dh_installdocs:
	PYTHONPATH=. sphinx-build -N -bhtml docs/ ./debian/python-sphinx-argparse/usr/share/doc/python-sphinx-argparse/html/
	PYTHONPATH=. sphinx-build -N -bhtml docs/ ./debian/python3-sphinx-argparse/usr/share/doc/python3-sphinx-argparse/html/
	dh_installdocs

override_dh_installchangelogs:
	dh_installchangelogs README.md