File: rules

package info (click to toggle)
python-odoorpc 0.7.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 612 kB
  • sloc: python: 3,092; makefile: 154; sh: 44
file content (18 lines) | stat: -rwxr-xr-x 373 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

#export DH_VERBOSE=1
export PYBUILD_NAME=odoorpc

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

override_dh_auto_build: doc/sphinx_ext
	dh_auto_build
	PYTHONPATH=. http_proxy='127.0.0.1:9' python3 -m sphinx -N -bhtml doc/source build/html

doc/sphinx_ext:
	cd doc; ln -sf ../sphinx_ext/ .

override_dh_clean:
	dh_clean
	rm -f doc/sphinx_ext