File: rules

package info (click to toggle)
python-fitbit 0.2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 248 kB
  • ctags: 232
  • sloc: python: 1,437; makefile: 135
file content (15 lines) | stat: -rwxr-xr-x 504 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export PYBUILD_NAME=fitbit

override_dh_auto_build: 
	dh_auto_build 
	PYTHONPATH=. http_proxy='localhost' sphinx-build -N -bhtml docs/ build/html  # HTML generator
	rm -rf build/html/.doctrees
	rm build/html/_static/jquery.js # Remove JQuery, this is linked in d/*.links
	rm build/html/_static/underscore.js # Remove underscore, this is linked in d/*.links
%:
	dh $@ --with python2 --buildsystem=pybuild

override_dh_auto_test:
	echo "Skipping tests: Tests require network access..."