File: rules

package info (click to toggle)
twine 1.8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 376 kB
  • ctags: 174
  • sloc: python: 1,374; makefile: 131
file content (11 lines) | stat: -rwxr-xr-x 291 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/make -f
export PYBUILD_NAME=twine

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

override_dh_auto_build:
	dh_auto_build --buildsystem=pybuild
	# Build sphinx html documentation and man pages
	python3 setup.py build_sphinx -b html
	python3 setup.py build_sphinx -b man