File: rules

package info (click to toggle)
pympress 1.8.5-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,504 kB
  • sloc: python: 5,213; xml: 268; sh: 87; makefile: 13
file content (20 lines) | stat: -rwxr-xr-x 612 bytes parent folder | download
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=pympress
export PYBUILD_DESTDIR_python3 = debian/pympress/

# Needed by sphinx build
export HOME=$(CURDIR)/debian/fakehome/

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

override_dh_auto_build: export http_proxy=127.0.0.1:9
override_dh_auto_build: export https_proxy=127.0.0.1:9
override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=. python3 -m sphinx -N -bhtml docs/ build/html -t api_doc -t install_instructions # HTML generator
	PYTHONPATH=. python3 -m sphinx -N -bman docs/ build/man # Manpage generator

override_dh_python3:
	dh_python3 --shebang=/usr/bin/python3