File: rules

package info (click to toggle)
python-odoorpc 0.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 568 kB
  • ctags: 520
  • sloc: python: 2,894; makefile: 154; sh: 4
file content (18 lines) | stat: -rwxr-xr-x 376 bytes parent folder | download
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 python2,python3,sphinxdoc

override_dh_auto_build: doc/sphinx_ext
	dh_auto_build
	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -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