File: rules

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

export PYBUILD_NAME = fedora

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

override_dh_clean:
	dh_clean
	rm -rf doc/_build

override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=$(CURDIR)/ http_proxy='127.0.0.1:9' \
		sphinx-build -N -bhtml doc/ doc/_build/html
	PYTHONPATH=$(CURDIR)/ http_proxy='127.0.0.1:9' \
		sphinx-build -N -bman doc/ doc/_build/man

override_dh_installchangelogs:
	dh_installchangelogs NEWS