File: rules

package info (click to toggle)
python-ebooklib 0.17.1-1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 580 kB
  • sloc: python: 1,738; makefile: 134
file content (16 lines) | stat: -rwxr-xr-x 354 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

# export DH_VERBOSE=1
export PYBUILD_NAME=ebooklib

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

override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=. http_proxy='127.0.0.1:9' python3 -m sphinx -N -bhtml docs/ _build/html # HTML generator

override_dh_auto_clean:
	dh_auto_clean
	rm -rf _build/
	rm -rf EbookLib.egg-info/