File: rules

package info (click to toggle)
bugwarrior 1.4.0%2Bgit2017010601-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 836 kB
  • sloc: python: 6,520; makefile: 154
file content (16 lines) | stat: -rwxr-xr-x 396 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

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

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

override_dh_auto_test:
	mkdir test_home
	HOME=`pwd`/test_home LC_ALL=C.UTF-8 python3.5 -m nose

override_dh_auto_clean:
	-rm -rf test_home
	dh_auto_clean